Skip to content

Commit 97781e3

Browse files
committed
[css-omview] Fix w3c#159. Do not leak a closed node via offsetParent
1 parent 99e2a0e commit 97781e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cssom-view/Overview.bs

+1-1
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>unclosed node</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:
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)