Skip to content

Commit bdaf234

Browse files
committed
change terminoloyg slight; compare media query lists is not needed
1 parent 8786a40 commit bdaf234

2 files changed

Lines changed: 28 additions & 37 deletions

File tree

cssom/Overview.html

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
<div class=head>
2929
<h1 id=cssom>CSSOM</h1>
3030

31-
<h2 class="no-num no-toc" id="">Editor's Draft 18 August 2010</h2>
31+
<h2 class="no-num no-toc" id="">Editor's Draft 30 August 2010</h2>
3232

3333
<dl>
3434
<dt>This Version:
3535

3636
<dd><a
37-
href="http://www.w3.org/TR/2010/ED-cssom-20100818/">http://www.w3.org/TR/2010/ED-cssom-20100818/</a>
37+
href="http://www.w3.org/TR/2010/ED-cssom-20100830/">http://www.w3.org/TR/2010/ED-cssom-20100830/</a>
3838

3939
<dt>Latest Version:
4040

@@ -459,34 +459,34 @@ <h2 id=media-queries><span class=secno>3. </span>Media Queries</h2>
459459
<h3 id=parsing-media-queries><span class=secno>3.1. </span>Parsing Media
460460
Queries</h3>
461461

462-
<p>To <dfn id=parse-a-list-of-media-queries>parse a list of media
463-
queries</dfn> for a given string <var title="">s</var> into a list of
464-
media queries is defined in the Media Queries specification. Return the
465-
list of one or more media queries that the algorithm defined there gives.</p>
462+
<p>To <dfn id=parse-a-media-query-list>parse a media query list</dfn> for a
463+
given string <var title="">s</var> into a media query list is defined in
464+
the Media Queries specification. Return the list of one or more media
465+
queries that the algorithm defined there gives.</p>
466466
<!-- XXX ref -->
467467

468468
<p class=note>A media query that ends up being "ignored" will turn into
469469
"<code title="">not all</code>".
470470

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

477477
<p class=note>Again, a media query that ends up being "ignored" will turn
478478
into "<code title="">not all</code>".
479479

480480
<h3 id=serializing-media-queries><span class=secno>3.2. </span>Serializing
481481
Media Queries</h3>
482482

483-
<p>To <dfn id=serialize-a-list-of-media-queries>serialize a list of media
484-
queries</dfn> run these steps:
483+
<p>To <dfn id=serialize-a-media-query-list>serialize a media query
484+
list</dfn> run these steps:
485485

486486
<ol>
487487
<li>
488-
<p>If the list of media queries is empty return the empty string and
489-
terminate these steps.
488+
<p>If the media query list is empty return the empty string and terminate
489+
these steps.
490490

491491
<li>
492492
<p><a href="#serialize-a-media-query" title="serialize a media
@@ -675,12 +675,6 @@ <h4 id=serializing-media-feature-values><span class=secno>3.2.1.
675675
<h3 id=comparing-media-queries><span class=secno>3.3. </span>Comparing
676676
Media Queries</h3>
677677

678-
<p>To <dfn id=compare-lists-of-media-queries>compare lists of media
679-
queries</dfn> <var title="">l1</var> and <var title="">l2</var> means to
680-
<a href="#serialize-a-list-of-media-queries" title="serialize a list of
681-
media queries">serialize</a> them both and return true if they are a <a
682-
href="#case-sensitive">case-sensitive</a> match and false if they are not.
683-
684678
<p>To <dfn id=compare-media-queries>compare media queries</dfn> <var
685679
title="">m1</var> and <var title="">m2</var> means to <a
686680
href="#serialize-a-media-query" title="serialize a media
@@ -706,8 +700,8 @@ <h3 id=the-medialist-interface><span class=secno>3.4. </span>The <code
706700
<p>The <dfn id=dom-medialist-mediatext
707701
title=dom-MediaList-mediaText><code>mediaText</code></dfn> attribute, on
708702
getting, <em class=ct>must</em> return a <a
709-
href="#serialize-a-list-of-media-queries" title="serialize a list of media
710-
queries">serialization</a> of the <a
703+
href="#serialize-a-media-query-list" title="serialize a media query
704+
list">serialization</a> of the <a
711705
href="#collection-of-media-queries">collection of media queries</a>.
712706

713707
<p>On setting the <a href="#dom-medialist-mediatext"><code
@@ -724,8 +718,8 @@ <h3 id=the-medialist-interface><span class=secno>3.4. </span>The <code
724718

725719
<li>
726720
<p>Append all the media queries as a result of <a
727-
href="#parse-a-list-of-media-queries" title="parse a list of media
728-
queries">parsing</a> the given value to the <a
721+
href="#parse-a-media-query-list" title="parse a media query
722+
list">parsing</a> the given value to the <a
729723
href="#collection-of-media-queries">collection of media queries</a>.
730724
</ol>
731725

@@ -3870,6 +3864,8 @@ <h4 id=the-csspropertyvalue-interface><span class=secno>5.6.3. </span>The
38703864
what does the CSSValue represent
38713865
"map"
38723866
"list"
3867+
"space-list"
3868+
"component"
38733869
38743870
if it is a CSSComponentValue
38753871

cssom/Overview.src.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ <h2>Media Queries</h2>
233233
<h3>Parsing Media Queries</h3>
234234

235235
<p>To
236-
<dfn id="parse-a-list-of-media-queries">parse a list of media queries</dfn>
237-
for a given string <var title="">s</var> into a list of media queries is defined in
236+
<dfn id="parse-a-media-query-list">parse a media query list</dfn> for a
237+
given string <var title="">s</var> into a media query list 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 -->
240240

@@ -244,7 +244,7 @@ <h3>Parsing Media Queries</h3>
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
247-
<span>parse a list of media queries</span> steps and return null if more
247+
<span>parse a media query list</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>
250250

@@ -255,11 +255,11 @@ <h3>Parsing Media Queries</h3>
255255
<h3>Serializing Media Queries</h3>
256256

257257
<p>To
258-
<dfn id="serialize-a-list-of-media-queries">serialize a list of media queries</dfn>
258+
<dfn id="serialize-a-media-query-list">serialize a media query list</dfn>
259259
run these steps:</p>
260260

261261
<ol>
262-
<li><p>If the list of media queries is empty return the empty string and
262+
<li><p>If the media query list is empty return the empty string and
263263
terminate these steps.</p></li>
264264

265265
<li><p><span title="serialize a media query">Serialize</span> each
@@ -401,13 +401,6 @@ <h4>Serializing Media Feature Values</h4>
401401

402402
<h3>Comparing Media Queries</h3>
403403

404-
<p>To
405-
<dfn id="compare-lists-of-media-queries">compare lists of media queries</dfn>
406-
<var title="">l1</var> and <var title="">l2</var> means to
407-
<span title="serialize a list of media queries">serialize</span> them both
408-
and return true if they are a <span>case-sensitive</span> match and false
409-
if they are not.</p>
410-
411404
<p>To
412405
<dfn id="compare-media-queries">compare media queries</dfn>
413406
<var title="">m1</var> and <var title="">m2</var> means to
@@ -435,7 +428,7 @@ <h3>The <code title="">MediaList</code> Interface</h3>
435428
<p>The
436429
<dfn id="dom-medialist-mediatext" title="dom-MediaList-mediaText"><code>mediaText</code></dfn>
437430
attribute, on getting, <em class="ct">must</em> return a
438-
<span title="serialize a list of media queries">serialization</span> of
431+
<span title="serialize a media query list">serialization</span> of
439432
the <span>collection of media queries</span>.</p>
440433

441434
<p>On setting the <code title="dom-MediaList-mediaText">mediaText</code>
@@ -448,7 +441,7 @@ <h3>The <code title="">MediaList</code> Interface</h3>
448441
steps.</p></li>
449442

450443
<li><p>Append all the media queries as a result of
451-
<span title="parse a list of media queries">parsing</span> the given
444+
<span title="parse a media query list">parsing</span> the given
452445
value to the <span>collection of media queries</span>.</p></li>
453446
</ol>
454447

@@ -2431,6 +2424,8 @@ <h4>The <code title="">CSSPropertyValue</code> Interface</h4>
24312424
what does the CSSValue represent
24322425
"map"
24332426
"list"
2427+
"space-list"
2428+
"component"
24342429
24352430
if it is a CSSComponentValue
24362431

0 commit comments

Comments
 (0)