



























@@ -1655,7 +1655,7 @@ The <dfn attribute for=Element>scrollTop</dfn> attribute, on getting, must retur
165516551. If <var>window</var> is null, return zero and terminate these steps.
165616561. If the element is the [=root element=] and <var>document</var> is in <a>quirks mode</a>, return zero and terminate these steps.
165716571. If the element is the [=root element=] return the value of {{Window/scrollY}} on <var>window</var>.
1658-1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in the y axis, return the value of {{Window/scrollY}} on <var>window</var>.
1658+1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in at least one axis, return the value of {{Window/scrollY}} on <var>window</var>.
165916591. If the element does not have any associated [=CSS/box=], return zero and terminate these steps.
166016601. Return the y-coordinate of the <a>scrolling area</a> at the alignment point with the top of the <a>padding edge</a> of the element.
16611661@@ -1669,7 +1669,7 @@ When setting the {{Element/scrollTop}} attribute these steps must be run:
166916691. If <var>window</var> is null, terminate these steps.
167016701. If the element is the [=root element=] and <var>document</var> is in <a>quirks mode</a>, terminate these steps.
167116711. If the element is the [=root element=] invoke {{Window/scroll()}} on <var>window</var> with {{Window/scrollX}} on <var>window</var> as first argument and <var>y</var> as second argument, and terminate these steps.
1672-1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in the y axis, invoke {{Window/scroll()}} on <var>window</var> with {{Window/scrollX}} as first argument and <var>y</var> as second argument, and terminate these steps.
1672+1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in at least one axis, invoke {{Window/scroll()}} on <var>window</var> with {{Window/scrollX}} as first argument and <var>y</var> as second argument, and terminate these steps.
167316731. If the element does not have any associated [=CSS/box=], the element has no associated <a>scrolling box</a>, or the element has no overflow, terminate these steps.
167416741. <a lt='scroll an element'>Scroll the element</a> to {{Element/scrollLeft}},<var>y</var>, with the scroll behavior being "<code>auto</code>".
16751675@@ -1692,7 +1692,7 @@ The <dfn attribute for=Element>scrollLeft</dfn> attribute, on getting, must retu
169216921. If <var>window</var> is null, return zero and terminate these steps.
169316931. If the element is the [=root element=] and <var>document</var> is in <a>quirks mode</a>, return zero and terminate these steps.
169416941. If the element is the [=root element=] return the value of {{Window/scrollX}} on <var>window</var>.
1695-1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in the x axis, return the value of {{Window/scrollX}} on <var>window</var>.
1695+1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in at least one axis, return the value of {{Window/scrollX}} on <var>window</var>.
169616961. If the element does not have any associated [=CSS/box=], return zero and terminate these steps.
169716971. Return the x-coordinate of the <a>scrolling area</a> at the alignment point with the left of the <a>padding edge</a> of the element.
16981698@@ -1706,7 +1706,7 @@ When setting the {{Element/scrollLeft}} attribute these steps must be run:
170617061. If <var>window</var> is null, terminate these steps.
170717071. If the element is the [=root element=] and <var>document</var> is in <a>quirks mode</a>, terminate these steps.
170817081. If the element is the [=root element=] invoke {{Window/scroll()}} on <var>window</var> with <var>x</var> as first argument and {{Window/scrollY}} on <var>window</var> as second argument, and terminate these steps.
1709-1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in the x axis, invoke {{Window/scroll()}} on <var>window</var> with <var>x</var> as first argument and {{Window/scrollY}} on <var>window</var> as second argument, and terminate these steps.
1709+1. If the element is <a>the <code>body</code> element</a>, <var>document</var> is in <a>quirks mode</a>, and the element is not <a>potentially scrollable</a> in at least one axis, invoke {{Window/scroll()}} on <var>window</var> with <var>x</var> as first argument and {{Window/scrollY}} on <var>window</var> as second argument, and terminate these steps.
171017101. If the element does not have any associated [=CSS/box=], the element has no associated <a>scrolling box</a>, or the element has no overflow, terminate these steps.
171117111. <a lt='scroll an element'>Scroll the element</a> to <var>x</var>,{{Element/scrollTop}}, with the scroll behavior being "<code>auto</code>".
17121712此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。