Skip to content

Commit 06fb597

Browse files
hayatoitozcorpan
authored andcommitted
[cssom-view] Fix #159. Do not leak a closed node via offsetParent (#169)
1 parent 9bf8397 commit 06fb597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cssom-view/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ The <dfn attribute for=HTMLElement>offsetParent</dfn> attribute must return the
13521352
* The element is the root element.
13531353
* The element is <a>the HTML <code>body</code> element</a>.
13541354
* The element's computed value of the 'position' property is ''position/fixed''.
1355-
1. Return the nearest ancestor element of the element for which at least one of the following is true and terminate this algorithm if such an ancestor is found:
1355+
1. Return the nearest ancestor <a lt="unclosed node">unclosed</a> element of the element for which at least one of the following is true and terminate this algorithm if such an ancestor is found: [[!DOM]]
13561356
* The computed value of the 'position' property is not ''static''.
13571357
* It is <a>the HTML <code>body</code> element</a>.
13581358
* The computed value of the 'position' property of the element is ''static'' and the ancestor is one of the following <a>HTML elements</a>: <code>td</code>, <code>th</code>, or <code>table</code>.

0 commit comments

Comments
 (0)