Skip to content

Commit

Permalink
[css-omview] Fix w3c#159. Do not leak a closed node via offsetParent
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Jun 13, 2016
1 parent 99e2a0e commit ec0bb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cssom-view/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ The <dfn attribute for=HTMLElement>offsetParent</dfn> attribute must return the
* The element is the root element.
* The element is <a>the HTML <code>body</code> element</a>.
* The element's computed value of the 'position' property is ''position/fixed''.
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:
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:
* The computed value of the 'position' property is not ''static''.
* It is <a>the HTML <code>body</code> element</a>.
* 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>.
Expand Down

0 comments on commit ec0bb47

Please sign in to comment.