Skip to content

Commit 5818eb8

Browse files
author
Simon Pieters
committed
[cssom-view] Remove a bogus check in scrollTop/Left getter. https://www.w3.org/Bugs/Public/show_bug.cgi?id=23453
--HG-- extra : rebase_source : 006ff8c044cb559596b67d250d0ce8e4daa12ea6
1 parent f9c308e commit 5818eb8

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cssom-view/Overview.src.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,8 +1027,7 @@ <h2>Extensions to the <code title>Element</code> Interface</h2>
10271027
<li><p>If the element is the root element return the value of
10281028
<code title='dom-Window-scrollY'>scrollY</code>.</p></li>
10291029
<li><p>If the element is <span>the HTML <code title>body</code> element</span>,
1030-
the <code data-anolis-spec=dom>Document</code> is in <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span>, and the element
1031-
does not have any overflow, return the value of
1030+
the <code data-anolis-spec=dom>Document</code> is in <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span>, return the value of
10321031
<code title=dom-Window-scrollY>scrollY</code>.</p></li>
10331032
<li><p>Return the y-coordinate of the <span>scrolling area</span> at the
10341033
alignment point with the top of the <span>padding edge</span> of the
@@ -1065,8 +1064,7 @@ <h2>Extensions to the <code title>Element</code> Interface</h2>
10651064
<li><p>If the element is the root element return the value of
10661065
<code title=dom-Window-scrollX>scrollX</code>.</p></li>
10671066
<li><p>If the element is <span>the HTML <code title>body</code> element</span>,
1068-
the <code data-anolis-spec=dom>Document</code> is in <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span>, and the element
1069-
does not have any overflow, return the value of
1067+
the <code data-anolis-spec=dom>Document</code> is in <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span>, return the value of
10701068
<code title=dom-Window-scrollX>scrollX</code>.</p></li>
10711069
<li><p>Return the x-coordinate of the <span>scrolling area</span> at the
10721070
alignment point with the left of the <span>padding edge</span> of the

0 commit comments

Comments
 (0)