Skip to content

Commit 4d8d2b8

Browse files
committed
fix the notes to match upcoming update to Media Queries
1 parent ac67a8e commit 4d8d2b8

2 files changed

Lines changed: 16 additions & 9 deletions

File tree

cssom/Overview.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,15 +464,18 @@ <h3 id=parsing-media-queries><span class=secno>3.1. </span>Parsing Media
464464
list of one or more media queries that the algorithm defined there gives.</p>
465465
<!-- XXX ref -->
466466

467-
<p class=note>If everything ends up being ignored the list will contain the
468-
media query "<code title="">not all</code>".
467+
<p class=note>A media query that ends up being "ignored" will turn into
468+
"<code title="">not all</code>".
469469

470470
<p>To <dfn id=parse-a-media-query>parse a media query</dfn> for a given
471471
string <var title="">s</var> means to follow the <a
472472
href="#parse-a-list-of-media-queries">parse a list of media queries</a>
473473
steps and return null if more than one media query is returned or a media
474474
query if a single media query is returned.
475475

476+
<p class=note>Again, a media query that ends up being "ignored" will turn
477+
into "<code title="">not all</code>".
478+
476479
<h3 id=serializing-media-queries><span class=secno>3.2. </span>Serializing
477480
Media Queries</h3>
478481

@@ -696,7 +699,8 @@ <h3 id=the-medialist-interface><span class=secno>3.4. </span>The <code
696699
title=dom-MediaList-mediaText><code>mediaText</code></dfn> attribute, on
697700
getting, <em class=ct>must</em> return a <a
698701
href="#serialize-a-list-of-media-queries" title="serialize a list of media
699-
queries">serialization</a> of the <span>list of media queries</span>.
702+
queries">serialization</a> of the <a
703+
href="#collection-of-media-queries">collection of media queries</a>.
700704

701705
<p>On setting the <a href="#dom-medialist-mediatext"><code
702706
title=dom-MediaList-mediaText>mediaText</code></a> attribute these steps

cssom/Overview.src.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,16 +237,19 @@ <h3>Parsing Media Queries</h3>
237237
for a given string <var title="">s</var> into a list of media queries is defined in
238238
the Media Queries specification. Return the list of one or more media
239239
queries that the algorithm defined there gives.</p> <!-- XXX ref -->
240-
241-
<p class="note">If everything ends up being ignored the list will contain
242-
the media query "<code title="">not all</code>".</p>
240+
241+
<p class="note">A media query that ends up being "ignored" will turn
242+
into "<code title="">not all</code>".</p>
243243

244244
<p>To
245245
<dfn id="parse-a-media-query">parse a media query</dfn> for a given string
246246
<var title="">s</var> means to follow the
247247
<span>parse a list of media queries</span> steps and return null if more
248248
than one media query is returned or a media query if a
249249
single media query is returned.</p>
250+
251+
<p class="note">Again, a media query that ends up being "ignored" will
252+
turn into "<code title="">not all</code>".</p>
250253

251254

252255
<h3>Serializing Media Queries</h3>
@@ -425,7 +428,7 @@ <h3>The <code title="">MediaList</code> Interface</h3>
425428
<dfn id="dom-medialist-mediatext" title="dom-MediaList-mediaText"><code>mediaText</code></dfn>
426429
attribute, on getting, <em class="ct">must</em> return a
427430
<span title="serialize a list of media queries">serialization</span> of
428-
the <span>list of media queries</span>.</p>
431+
the <span>collection of media queries</span>.</p>
429432

430433
<p>On setting the <code title="dom-MediaList-mediaText">mediaText</code>
431434
attribute these steps <em class="ct">must</em> be run:</p>
@@ -435,7 +438,7 @@ <h3>The <code title="">MediaList</code> Interface</h3>
435438

436439
<li><p>If the given value is the empty string terminate these
437440
steps.</p></li>
438-
441+
439442
<li><p>Append all the media queries as a result of
440443
<span title="parse a list of media queries">parsing</span> the given
441444
value to the <span>collection of media queries</span>.</p></li>
@@ -458,7 +461,7 @@ <h3>The <code title="">MediaList</code> Interface</h3>
458461
<p>The
459462
<dfn id="dom-medialist-appendmedium" title="dom-MediaList-appendmedium"><code>appendMedium(<var title="">medium</var>)</code></dfn>
460463
method <em class="ct">must</em> run these steps:</p>
461-
464+
462465
<ol>
463466
<li><p>Let <var title="">m</var> be the result of
464467
<span title="parse a media query">parsing</span> the given

0 commit comments

Comments
 (0)