|
16 | 16 |
|
17 | 17 | <h1>CSSOM View Module</h1> |
18 | 18 |
|
19 | | - <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 20 November 2014</h2> |
| 19 | + <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 28 November 2014</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 20 November 2014 Editor's Draft of CSSOM View. Please send |
| 86 | +<p>This is the 28 November 2014 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>) |
@@ -529,7 +529,7 @@ <h2 id="extensions-to-the-window-interface"><span class="secno">5 </span>Extensi |
529 | 529 | }; |
530 | 530 |
|
531 | 531 | partial interface <a class="external" data-anolis-spec="html" href="https://html.spec.whatwg.org/multipage/browsers.html#window">Window</a> { |
532 | | - <a href="#mediaquerylist">MediaQueryList</a> <a href="#dom-window-matchmedia" title="dom-Window-matchMedia">matchMedia</a>(DOMString query); |
| 532 | + [NewObject] <a href="#mediaquerylist">MediaQueryList</a> <a href="#dom-window-matchmedia" title="dom-Window-matchMedia">matchMedia</a>(DOMString query); |
533 | 533 | [SameObject] readonly attribute <a href="#screen">Screen</a> <a href="#dom-window-screen" title="dom-Window-screen">screen</a>; |
534 | 534 |
|
535 | 535 | // browsing context |
@@ -567,10 +567,11 @@ <h2 id="extensions-to-the-window-interface"><span class="secno">5 </span>Extensi |
567 | 567 | <li><p>Let <var>parsed media query list</var> be the result of |
568 | 568 | <a class="external" data-anolis-spec="cssom" href="http://dev.w3.org/csswg/cssom/#parse-a-media-query-list" title="parse a media query list">parsing</a> |
569 | 569 | <var>query</var>.</li> |
570 | | - <li><p>Return a <em>new</em> <code><a href="#mediaquerylist">MediaQueryList</a></code> object, |
571 | | - associated with the <code class="external" data-anolis-spec="html"><a href="https://html.spec.whatwg.org/multipage/browsers.html#window">Window</a></code> object, with |
572 | | - <var>parsed media query list</var> as its associated |
573 | | - media query list.</li> |
| 570 | + <li><p>Return a new <code><a href="#mediaquerylist">MediaQueryList</a></code> object, |
| 571 | + with the <a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#context-object">context object</a>'s |
| 572 | + <a class="external" data-anolis-spec="html" href="https://html.spec.whatwg.org/multipage/browsers.html#concept-document-window" title="concept-document-window">associated <code title="">Document</code></a> |
| 573 | + as the <a href="#concept-mediaquerylist-document" title="concept-MediaQueryList-document">document</a>, |
| 574 | + with <var>parsed media query list</var> as its associated <a href="#media-query-list">media query list</a>.</li> |
574 | 575 | </ol> |
575 | 576 |
|
576 | 577 | <p>The <dfn id="dom-window-screen" title="dom-Window-screen"><code>screen</code></dfn> attribute must return the <code><a href="#screen">Screen</a></code> object |
@@ -851,15 +852,16 @@ <h4 id="the-features-argument-to-the-open()-method"><span class="secno">5.1 </sp |
851 | 852 |
|
852 | 853 | <h3 id="the-mediaquerylist-interface"><span class="secno">5.2 </span>The <code title="">MediaQueryList</code> Interface</h3> |
853 | 854 |
|
854 | | -<p>A <code><a href="#mediaquerylist">MediaQueryList</a></code> object has an associated media query list set on creation.</p> |
| 855 | +<p>A <code><a href="#mediaquerylist">MediaQueryList</a></code> object has an associated <dfn id="media-query-list">media query list</dfn> |
| 856 | +and an associated <dfn id="concept-mediaquerylist-document" title="concept-MediaQueryList-document">document</dfn> set on creation.</p> |
855 | 857 |
|
856 | 858 | <p>A <code><a href="#mediaquerylist">MediaQueryList</a></code> object has an associated <dfn id="concept-mediaquerylist-media" title="concept-MediaQueryList-media">media</dfn> which is the |
857 | | -<a class="external" data-anolis-spec="cssom" href="http://dev.w3.org/csswg/cssom/#serialize-a-media-query-list" title="serialize a media query list">serialized</a> form of the associated media query list.</p> |
| 859 | +<a class="external" data-anolis-spec="cssom" href="http://dev.w3.org/csswg/cssom/#serialize-a-media-query-list" title="serialize a media query list">serialized</a> form of the associated <a href="#media-query-list">media query list</a>.</p> |
858 | 860 |
|
859 | 861 | <p>A <code><a href="#mediaquerylist">MediaQueryList</a></code> object has an associated <dfn id="concept-mediaquerylist-matches" title="concept-MediaQueryList-matches">matches state</dfn> which is |
860 | | -true if the associated media query list matches the state of the rendered <code class="external" data-anolis-spec="dom"><a href="https://dom.spec.whatwg.org/#document">Document</a></code>, and false otherwise.</p> |
| 862 | +true if the associated <a href="#media-query-list">media query list</a> matches the state of the <a href="#concept-mediaquerylist-document" title="concept-MediaQueryList-document">document</a>, and false otherwise.</p> |
861 | 863 |
|
862 | | -<p>If the associated media query list changes in evaluation, the user agent must <a class="external" data-anolis-spec="html" href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task">queue a task</a> to run these steps:</p> |
| 864 | +<p>If the associated <a href="#media-query-list">media query list</a> changes in evaluation, the user agent must <a class="external" data-anolis-spec="html" href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task">queue a task</a> to run these steps:</p> |
863 | 865 |
|
864 | 866 | <ol> |
865 | 867 |
|
|
0 commit comments