|
13 | 13 |
|
14 | 14 | <h1 id="cssom-view-module">CSSOM View Module</h1> |
15 | 15 |
|
16 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 8 May 2013</h2> |
| 16 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 14 May 2013</h2> |
17 | 17 |
|
18 | 18 | <dl> |
19 | 19 |
|
@@ -69,7 +69,7 @@ <h2 class="no-num no-toc" id="sotd">Status of this Document</h2> |
69 | 69 | can be found in the <a href="http://www.w3.org/TR/">W3C technical reports |
70 | 70 | index at http://www.w3.org/TR/.</a></em> |
71 | 71 |
|
72 | | -<p>This is the 8 May 2013 Editor's Draft of CSSOM View. Please send |
| 72 | +<p>This is the 14 May 2013 Editor's Draft of CSSOM View. Please send |
73 | 73 | comments to |
74 | 74 | <a href="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20">www-style@w3.org</a> |
75 | 75 | (<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) |
@@ -126,6 +126,10 @@ <h2 class="no-num no-toc" id="toc">Table of Contents</h2> |
126 | 126 | <ol class="toc"> |
127 | 127 | <li><a href="#the-clientrectlist-interface"><span class="secno">10.1 </span>The <code title="">ClientRectList</code> Interface</a></li> |
128 | 128 | <li><a href="#the-clientrect-interface"><span class="secno">10.2 </span>The <code title="">ClientRect</code> Interface</a></ol></li> |
| 129 | + <li><a href="#events"><span class="secno">11 </span>Events</a> |
| 130 | + <ol class="toc"> |
| 131 | + <li><a href="#resizing-viewports"><span class="secno">11.1 </span>Resizing viewports</a></li> |
| 132 | + <li><a href="#scrolling"><span class="secno">11.2 </span>Scrolling</a></ol></li> |
129 | 133 | <li><a class="no-num" href="#references">References</a> |
130 | 134 | <ol class="toc"> |
131 | 135 | <li><a class="no-num" href="#normative-references">Normative references</a></ol></li> |
@@ -815,7 +819,31 @@ <h3 id="the-clientrect-interface"><span class="secno">10.2 </span>The <code titl |
815 | 819 | <p>The <code><a href="#widl-ClientRect-height">height</a></code> attribute must return the height of the rectangle box.</p> <p class="note">This is identical to <code title="widl-ClientRect-bottom">bottom</code> minus <code title="widl-ClientRect-top">top</code>.</dd> |
816 | 820 | </dl> |
817 | 821 |
|
818 | | - |
| 822 | + |
| 823 | + <h2 id="events"><span class="secno">11 </span>Events</h2> |
| 824 | + |
| 825 | + <h3 id="resizing-viewports"><span class="secno">11.1 </span>Resizing viewports</h3> |
| 826 | + |
| 827 | + <p>Whenever a <a href="#viewport">viewport</a> has its width or height changed (e.g. as a result of the user resizing the browser window, or zooming in, or an |
| 828 | + <code>iframe</code> element's dimensions are changed), the user agent must <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to |
| 829 | + <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#concept-event-fire" title="concept-event-fire">fire</a> a <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#concept-events-trusted" title="concept-events-trusted">trusted</a> event named |
| 830 | + <code>resize</code> that does not bubble and is not cancelable at the <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window">Window</a></code> object associated with that |
| 831 | + <a href="#viewport">viewport</a>. |
| 832 | + |
| 833 | + <h3 id="scrolling"><span class="secno">11.2 </span>Scrolling</h3> |
| 834 | + |
| 835 | + <p>Whenever a <a href="#viewport">viewport</a> gets scrolled in response to user interaction, the user agent must <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to |
| 836 | + <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#concept-event-fire" title="concept-event-fire">fire</a> a <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#concept-events-trusted" title="concept-events-trusted">trusted</a> event named |
| 837 | + <code><a href="#widl-Window-scroll">scroll</a></code> that bubbles but is not cancelable at the <code class="external"><a href="http://dom.spec.whatwg.org/#document">Document</a></code> object associated with that <a href="#viewport">viewport</a>. |
| 838 | + |
| 839 | + <p class="issue">Do viewports have associated documents?</p> |
| 840 | + |
| 841 | + <p>Whenever an element gets scrolled in response to user interaction, the user agent must <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to |
| 842 | + <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#concept-event-fire" title="concept-event-fire">fire</a> a <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#concept-events-trusted" title="concept-events-trusted">trusted</a> event named |
| 843 | + <code><a href="#widl-Window-scroll">scroll</a></code> that does not bubble and is not cancelable at the element. |
| 844 | + |
| 845 | + <p class="issue">Should we specify that scroll events can be throttled (e.g. in a smooth scroll)?</p> |
| 846 | + |
819 | 847 | <h2 class="no-num" id="references">References</h2> |
820 | 848 | <h3 class="no-num" id="normative-references">Normative references</h3> |
821 | 849 | <div id="anolis-references-normative"><dl><dt id="refsCSSOM">[CSSOM] |
|
0 commit comments