Skip to content

Commit 70ebda6

Browse files
committed
the method is called scroll() moron
1 parent 197b5a2 commit 70ebda6

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

cssom-view/Overview.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727

2828
<h1 id=cssom-view-module>CSSOM View Module</h1>
2929

30-
<h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 12 August 2010</h2>
30+
<h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 13 August 2010</h2>
3131

3232
<dl>
3333
<dt>This Version:
3434

3535
<dd><a
36-
href="http://www.w3.org/TR/2010/ED-cssom-view-20100812/">http://www.w3.org/TR/2010/ED-cssom-view-20100812/</a>
36+
href="http://www.w3.org/TR/2010/ED-cssom-view-20100813/">http://www.w3.org/TR/2010/ED-cssom-view-20100813/</a>
3737

3838
<dt>Latest Version:
3939

@@ -935,17 +935,17 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
935935

936936
<li>
937937
<p>If the element is the root element invoke <a
938-
href="#dom-window-screen"><code
939-
title=dom-Window-screen>screen()</code></a> with zero as first argument
938+
href="#dom-window-scroll"><code
939+
title=dom-Window-scroll>scroll()</code></a> with zero as first argument
940940
and <var title="">y</var> as second.
941941

942942
<li>
943943
<p>If the element is <a href="#the-html-body-element">the HTML
944944
<code>body</code> element</a>, the <a
945945
href="#document"><code>Document</code></a> is in <a
946946
href="#quirks-mode">quirks mode</a>, and the element does not have any
947-
vertical overflow, invoke <a href="#dom-window-screen"><code
948-
title=dom-Window-screen>screen()</code></a> with zero as first argument
947+
vertical overflow, invoke <a href="#dom-window-scroll"><code
948+
title=dom-Window-scroll>scroll()</code></a> with zero as first argument
949949
and <var title="">y</var> as second.
950950

951951
<li>
@@ -1011,17 +1011,17 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
10111011

10121012
<li>
10131013
<p>If the element is the root element invoke <a
1014-
href="#dom-window-screen"><code
1015-
title=dom-Window-screen>screen()</code></a> with <var title="">x</var>
1014+
href="#dom-window-scroll"><code
1015+
title=dom-Window-scroll>scroll()</code></a> with <var title="">x</var>
10161016
as first argument and zero as second.
10171017

10181018
<li>
10191019
<p>If the element is <a href="#the-html-body-element">the HTML
10201020
<code>body</code> element</a>, the <a
10211021
href="#document"><code>Document</code></a> is in <a
10221022
href="#quirks-mode">quirks mode</a>, and the element does not have any
1023-
vertical overflow, invoke <a href="#dom-window-screen"><code
1024-
title=dom-Window-screen>screen()</code></a> with <var title="">x</var>
1023+
vertical overflow, invoke <a href="#dom-window-scroll"><code
1024+
title=dom-Window-scroll>scroll()</code></a> with <var title="">x</var>
10251025
as first argument and zero as second.
10261026

10271027
<li>

cssom-view/Overview.src.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -744,13 +744,13 @@ <h3 id="scroll-attributes">The <code title="">scrollTop</code>,
744744
steps.</p></li>
745745

746746
<li><p>If the element is the root element invoke
747-
<code title="dom-Window-screen">screen()</code> with zero as first
747+
<code title="dom-Window-scroll">scroll()</code> with zero as first
748748
argument and <var title="">y</var> as second.</p></li>
749749

750750
<li><p>If the element is <span>the HTML <code>body</code> element</span>,
751751
the <code>Document</code> is in <span>quirks mode</span>, and the element
752752
does not have any vertical overflow, invoke
753-
<code title="dom-Window-screen">screen()</code> with zero as first
753+
<code title="dom-Window-scroll">scroll()</code> with zero as first
754754
argument and <var title="">y</var> as second.</p></li>
755755

756756
<li><p>If <var title="">y</var> is infinite or NaN stop this
@@ -799,13 +799,13 @@ <h3 id="scroll-attributes">The <code title="">scrollTop</code>,
799799
steps.</p></li>
800800

801801
<li><p>If the element is the root element invoke
802-
<code title="dom-Window-screen">screen()</code> with
802+
<code title="dom-Window-scroll">scroll()</code> with
803803
<var title="">x</var> as first argument and zero as second.</p></li>
804804

805805
<li><p>If the element is <span>the HTML <code>body</code> element</span>,
806806
the <code>Document</code> is in <span>quirks mode</span>, and the element
807807
does not have any vertical overflow, invoke
808-
<code title="dom-Window-screen">screen()</code> with
808+
<code title="dom-Window-scroll">scroll()</code> with
809809
<var title="">x</var> as first argument and zero as second.</p></li>
810810

811811
<li><p>If <var title="">x</var> is infinite or NaN stop this

0 commit comments

Comments
 (0)