Skip to content

Commit

Permalink
[cssom-view] scrollingElement should not return the body if it is its…
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Apr 13, 2015
1 parent fca9351 commit ad098d6
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 @@ -922,7 +922,7 @@ revision of CSS or HTML.
<p class=atrisk>The <dfn attribute for=Document>scrollingElement</dfn> attribute, on getting, must run these steps:

1. If the {{Document}} is in <a>quirks mode</a>, follow these substeps:
1. If <a>the HTML <code>body</code> element</a> exists, return <a>the HTML <code>body</code> element</a> and abort these steps.
1. If <a>the HTML <code>body</code> element</a> exists, and it does not have an associated <a>scrolling box</a>, return <a>the HTML <code>body</code> element</a> and abort these steps.
1. Return null and abort these steps.
1. If there is a root element, return the root element and abort these steps.
1. Return null.
Expand Down

0 comments on commit ad098d6

Please sign in to comment.