Skip to content

Commit 690c14b

Browse files
committed
[cssom-view-1] Per WG resolution, find the bounding box of all fragments. w3c#6588
1 parent 5d1c748 commit 690c14b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cssom-view-1/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,13 +1399,17 @@ The <dfn attribute for=HTMLElement>offsetLeft</dfn> attribute must return the re
13991399
The <dfn attribute for=HTMLElement>offsetWidth</dfn> attribute must return the result of running these steps:
14001400

14011401
1. If the element does not have any associated <a>CSS layout box</a> return zero and terminate this algorithm.
1402-
1. Return the <a>border edge</a> width of the element's [=principal box=],
1402+
1. Return the width of the axis-aligned bounding box
1403+
of the [=border boxes=]
1404+
of all fragments generated by the element's [=principal box=],
14031405
ignoring any <a>transforms</a> that apply to the element and its ancestors.
14041406

14051407
The <dfn attribute for=HTMLElement>offsetHeight</dfn> attribute must return the result of running these steps:
14061408

14071409
1. If the element does not have any associated <a>CSS layout box</a> return zero and terminate this algorithm.
1408-
1. Return the <a>border edge</a> height of the element's [=principal box=],
1410+
1. Return the height of the axis-aligned bounding box
1411+
of the [=border boxes=]
1412+
of all fragments generated by the element's [=principal box=],
14091413
ignoring any <a>transforms</a> that apply to the element and its ancestors.
14101414

14111415

0 commit comments

Comments
 (0)