|
16 | 16 |
|
17 | 17 | <h1>CSSOM View Module</h1> |
18 | 18 |
|
19 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 17 October 2013</h2> |
| 19 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 21 October 2013</h2> |
20 | 20 |
|
21 | 21 | <dl> |
22 | 22 |
|
@@ -83,7 +83,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2> |
83 | 83 | can be found in the <a href="http://www.w3.org/TR/">W3C technical reports |
84 | 84 | index at http://www.w3.org/TR/.</a></em> |
85 | 85 |
|
86 | | -<p>This is the 17 October 2013 Editor's Draft of CSSOM View. Please send |
| 86 | +<p>This is the 21 October 2013 Editor's Draft of CSSOM View. Please send |
87 | 87 | comments to |
88 | 88 | <a href="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20">www-style@w3.org</a> |
89 | 89 | (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) |
@@ -1007,7 +1007,8 @@ <h2 id="extensions-to-the-element-interface"><span class="secno">7 </span>Extens |
1007 | 1007 | partial interface <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#element">Element</a> { |
1008 | 1008 | <a href="#domrectlist">DOMRectList</a> <a href="#dom-element-getclientrects" title="dom-Element-getClientRects">getClientRects</a>(); |
1009 | 1009 | <a href="#domrect">DOMRect</a> <a href="#dom-element-getboundingclientrect" title="dom-Element-getBoundingClientRect">getBoundingClientRect</a>(); |
1010 | | - void <a href="#dom-element-scrollintoview" title="dom-Element-scrollIntoView">scrollIntoView</a>(optional boolean top = true, optional <a href="#scrolloptions">ScrollOptions</a> options); |
| 1010 | + void <a href="#dom-element-scrollintoview" title="dom-Element-scrollIntoView">scrollIntoView</a>(); |
| 1011 | + void <a href="#dom-element-scrollintoview" title="dom-Element-scrollIntoView">scrollIntoView</a>(boolean top, optional <a href="#scrolloptions">ScrollOptions</a> options); |
1011 | 1012 | attribute (double or <a href="#scrolloptionsvertical">ScrollOptionsVertical</a>) <a href="#dom-element-scrolltop" title="dom-Element-scrollTop">scrollTop</a>; |
1012 | 1013 | attribute (double or <a href="#scrolloptionshorizontal">ScrollOptionsHorizontal</a>) <a href="#dom-element-scrollleft" title="dom-Element-scrollLeft">scrollLeft</a>; |
1013 | 1014 | readonly attribute double <a href="#dom-element-scrollwidth" title="dom-Element-scrollWidth">scrollWidth</a>; |
@@ -1072,6 +1073,9 @@ <h2 id="extensions-to-the-element-interface"><span class="secno">7 </span>Extens |
1072 | 1073 |
|
1073 | 1074 | <p>The <dfn id="dom-element-scrollintoview" title="dom-Element-scrollIntoView"><code>scrollIntoView(<var>top</var>, <var>options</var>)</code></dfn> method must run these steps:</p> |
1074 | 1075 | <ol> |
| 1076 | + <li><p>If invoked with no arguments, let <var>top</var> be true and let <var>options</var> be a <code><a href="#scrolloptions">ScrollOptions</a></code> dictionary with its members not |
| 1077 | + present or present with the default value, as appropriate. |
| 1078 | + <!-- scrollIntoView() means top=true but scrollIntoView(undefined) means top=false, to align with impls. --> |
1075 | 1079 | <li><p>If the element does not have any associated <a href="#layout-box">layout box</a> terminate these steps.</li> |
1076 | 1080 | <li><p><a href="#scroll-an-element-into-view" title="scroll an element into view">Scroll the element into view</a> with the |
1077 | 1081 | <i>align to top flag</i> set if <var>top</var> is true, and the scroll behavior being the value of the <code title="">behavior</code> |
|
0 commit comments