File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1404,6 +1404,11 @@ The <dfn attribute for=HTMLElement>offsetWidth</dfn> attribute must return the r
14041404 of all fragments generated by the element's [=principal box=] ,
14051405 ignoring any <a>transforms</a> that apply to the element and its ancestors.
14061406
1407+ If the element's [=principal box=] is an [=inline-level box=]
1408+ which was "split" by a [=block-level=] descendant,
1409+ also include fragments generated by the [=block-level=] descendants,
1410+ unless they are zero width or height.
1411+
14071412The <dfn attribute for=HTMLElement>offsetHeight</dfn> attribute must return the result of running these steps:
14081413
140914141. If the element does not have any associated <a>CSS layout box</a> return zero and terminate this algorithm.
@@ -1412,6 +1417,11 @@ The <dfn attribute for=HTMLElement>offsetHeight</dfn> attribute must return the
14121417 of all fragments generated by the element's [=principal box=] ,
14131418 ignoring any <a>transforms</a> that apply to the element and its ancestors.
14141419
1420+ If the element's [=principal box=] is an [=inline-level box=]
1421+ which was "split" by a [=block-level=] descendant,
1422+ also include fragments generated by the [=block-level=] descendants,
1423+ unless they are zero width or height.
1424+
14151425
14161426<h2 id=extensions-to-the-htmlimageelement-interface>Extensions to the {{HTMLImageElement}} Interface</h2>
14171427
You can’t perform that action at this time.
0 commit comments