From 1afdc8f43aed19e56ae8271c6a616e4730b5b85d Mon Sep 17 00:00:00 2001 From: Peter Roche <46547072+paroche@users.noreply.github.com> Date: Thu, 7 Nov 2019 20:41:36 -0700 Subject: [PATCH] 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. --- 2-ui/1-document/09-size-and-scroll/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-ui/1-document/09-size-and-scroll/article.md b/2-ui/1-document/09-size-and-scroll/article.md index 7a3bf70d..904402dd 100644 --- a/2-ui/1-document/09-size-and-scroll/article.md +++ b/2-ui/1-document/09-size-and-scroll/article.md @@ -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. -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`), 2. or ``, ``, ``,