Skip to content

Commit 86f590e

Browse files
author
Simon Pieters
committed
[cssom-view] editorial: Rename variables for matchMedia. https://www.w3.org/Bugs/Public/show_bug.cgi?id=14197
1 parent 10b02ac commit 86f590e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

cssom-view/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ <h2 id="extensions-to-the-window-interface"><span class="secno">4 </span>Extensi
316316
<dt class="method" id="widl-Window-matchMedia-MediaQueryList-DOMString-query">
317317
<dfn id="widl-Window-matchMedia"><code>matchMedia</code></dfn> (<span class="idlParam"><span class="idlParamType"><a>DOMString</a></span> <span class="idlParamName">query</span></span>), returns <span class="idlMethType"><a>MediaQueryList</a></span></dt>
318318
<dd>
319-
<p>When the <code><a href="#widl-Window-matchMedia">matchMedia</a></code> operation is invoked these steps must be run:</p> <ol> <li><p>Let <var title="">parsed_media_query_list</var> be the result of <a class="external" href="http://dev.w3.org/hg/csswg/cssom/#parse-a-media-query-list" title="parse a media query list">parsing</a> <var title="">media_query_list</var>.</li> <li><p>Return a <em>new</em> <code>MediaQueryList</code> object, associated with the <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window">Window</a></code> object, with <var title="">parsed_media_query_list</var> as its associated media query list.</li> </ol></dd>
319+
<p>When the <code><a href="#widl-Window-matchMedia">matchMedia</a></code> operation is invoked these steps must be run:</p> <ol> <li><p>Let <var title="">parsed media query list</var> be the result of <a class="external" href="http://dev.w3.org/csswg/cssom/#parse-a-media-query-list" title="parse a media query list">parsing</a> <var title="">query</var>.</li> <li><p>Return a <em>new</em> <code>MediaQueryList</code> object, associated with the <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window">Window</a></code> object, with <var title="">parsed media query list</var> as its associated media query list.</li> </ol></dd>
320320
<dt class="method" id="widl-Window-scroll-void-long-x-long-y">
321321
<dfn id="widl-Window-scroll"><code>scroll</code></dfn> (<span class="idlParam"><span class="idlParamType"><a>long</a></span> <a class="idlParamName" href="#widl-MouseEvent-x">x</a></span>, <span class="idlParam"><span class="idlParamType"><a>long</a></span> <a class="idlParamName" href="#widl-MouseEvent-y">y</a></span>), returns <span class="idlMethType"><a>void</a></span></dt>
322322
<dd>
@@ -345,7 +345,7 @@ <h3 id="the-mediaquerylist-interface"><span class="secno">4.1 </span>The <code t
345345
<dt class="attribute" id="widl-MediaQueryList-media">
346346
<dfn id="widl-MediaQueryList-media"><code>media</code></dfn> of type <span class="idlAttrType"><a>DOMString</a></span>, readonly</dt>
347347
<dd>
348-
<p>The <code><a href="#widl-MediaQueryList-media">media</a></code> attribute must return the <a class="external" href="http://dev.w3.org/hg/csswg/cssom/#serialize-a-media-query-list" title="serialize a media query list">serialized</a> form of the associated media query list.</dd>
348+
<p>The <code><a href="#widl-MediaQueryList-media">media</a></code> attribute must return the <a class="external" 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.</dd>
349349
<dt class="attribute" id="widl-MediaQueryList-matches">
350350
<dfn id="widl-MediaQueryList-matches"><code>matches</code></dfn> of type <span class="idlAttrType"><a>boolean</a></span>, readonly</dt>
351351
<dd>

cssom-view/idl/Window.idl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ partial interface Window {
44
[Documentation=
55
"<p>When the {@name} {@type} is invoked these steps must be run:</p>\
66
<ol>\
7-
<li><p>Let <var title>parsed_media_query_list</var> be the result of\
7+
<li><p>Let <var title>parsed media query list</var> be the result of\
88
<span title='parse a media query list' data-anolis-spec=cssom>parsing</span>\
9-
<var title>media_query_list</var>.</p></li>\
9+
<var title>query</var>.</p></li>\
1010
<li><p>Return a <em>new</em> <code>MediaQueryList</code> object,\
1111
associated with the <code data-anolis-spec=html>Window</code> object, with\
12-
<var title>parsed_media_query_list</var> as its associated\
12+
<var title>parsed media query list</var> as its associated\
1313
media query list.</p></li>\
1414
</ol>"
1515
]

0 commit comments

Comments
 (0)