Update article.md

Grammatical changes to description of `offsetParent`. Adding 'the' before 'browser', removing commas. Changing "satisfies the following conditions" to "satisfies **one of** the following conditions", which I **think** is what is meant.
This commit is contained in:
Peter Roche 2019-11-07 20:41:36 -07:00 committed by GitHub
parent 5a1825c9ac
commit 1afdc8f43a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,9 +55,9 @@ Let's start exploring the properties starting from the outside of the element.
These properties are rarely needed, but still they are the "most outer" geometry properties, so we'll start with them. These properties are rarely needed, but still they are the "most outer" geometry properties, so we'll start with them.
The `offsetParent` is the nearest ancestor, that browser uses for calculating coordinates during rendering. The `offsetParent` is the nearest ancestor that the browser uses for calculating coordinates during rendering.
That's the nearest ancestor, that satisfies following conditions: That's the nearest ancestor that satisfies one of the following conditions:
1. CSS-positioned (`position` is `absolute`, `relative`, `fixed` or `sticky`), 1. CSS-positioned (`position` is `absolute`, `relative`, `fixed` or `sticky`),
2. or `<td>`, `<th>`, `<table>`, 2. or `<td>`, `<th>`, `<table>`,