From 24b284b44fc7574490c8894f29881ac28d2329a3 Mon Sep 17 00:00:00 2001 From: Peter Roche <46547072+paroche@users.noreply.github.com> Date: Thu, 7 Nov 2019 21:15:36 -0700 Subject: [PATCH] Update article.md Further changes to `offsetParent` description. --- 2-ui/1-document/09-size-and-scroll/article.md | 6 +++--- 1 file changed, 3 insertions(+), 3 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 904402dd..847d2970 100644 --- a/2-ui/1-document/09-size-and-scroll/article.md +++ b/2-ui/1-document/09-size-and-scroll/article.md @@ -57,11 +57,11 @@ These properties are rarely needed, but still they are the "most outer" geometry The `offsetParent` is the nearest ancestor that the browser uses for calculating coordinates during rendering. -That's the nearest ancestor that satisfies one of the following conditions: +That's the nearest ancestor that is one of the following: 1. CSS-positioned (`position` is `absolute`, `relative`, `fixed` or `sticky`), -2. or `
`, ` | `, or ` |
---|