Skip to content

Commit cb3aadc

Browse files
authored
Update article.md
`offsetParent` criteria list -- minor formatting change to previous change (added spaces).
1 parent 7279e9c commit cb3aadc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2-ui/1-document/09-size-and-scroll/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ The `offsetParent` is the nearest ancestor that the browser uses for calculating
5959
6060
That's the nearest ancestor that is one of the following:
6161
62-
1. CSS-positioned (`position` is `absolute`, `relative`, `fixed` or `sticky`), or
63-
2. `<td>`, `<th>`, or `<table>`, or
62+
1. CSS-positioned (`position` is `absolute`, `relative`, `fixed` or `sticky`), or
63+
2. `<td>`, `<th>`, or `<table>`, or
6464
3. `<body>`.
6565
6666
Properties `offsetLeft/offsetTop` provide x/y coordinates relative to `offsetParent` upper-left corner.

0 commit comments

Comments
 (0)