Skip to content

Commit 112a929

Browse files
committed
add a note to serializing media features
1 parent 81a7e6c commit 112a929

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

cssom/Overview.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
<div class=head>
2626
<h1 id=cssom>CSSOM</h1>
2727

28-
<h2 class="no-num no-toc" id="">Editor's Draft 16 October 2009</h2>
28+
<h2 class="no-num no-toc" id="">Editor's Draft 19 October 2009</h2>
2929

3030
<dl>
3131
<dt>This Version:
3232

3333
<dd><a
34-
href="http://www.w3.org/TR/2009/ED-cssom-20091016/">http://www.w3.org/TR/2009/ED-cssom-20091016/</a>
34+
href="http://www.w3.org/TR/2009/ED-cssom-20091019/">http://www.w3.org/TR/2009/ED-cssom-20091019/</a>
3535

3636
<dt>Latest Version:
3737

@@ -452,6 +452,10 @@ <h3 id=serializing-media-queries><span class=secno>4.2 </span>Serializing
452452
<h4 id=serializing-media-feature-values><span class=secno>4.2.1
453453
</span>Serializing Media Feature Values</h4>
454454

455+
<p class=XXX>This should probably be done in terms of mapping it to
456+
serializing CSS values as media features are defined in terms of CSS
457+
values after all.
458+
455459
<p>To <dfn id=serialize-a-media-feature-value>serialize a media feature
456460
value</dfn> named <var title="">v</var> locate <var title="">v</var> in
457461
the first column of the table below and use the serialization format
@@ -715,6 +719,10 @@ <h2 id=selectors><span class=secno>5 </span>Selectors</h2>
715719
<h2 id=style-sheets><span class=secno>6 </span>Style Sheets</h2>
716720

717721
<h3 id=style-sheet0><span class=secno>6.1 </span>Style Sheet</h3>
722+
<!-- XXX
723+
element inserted into the DOM, style sheet created, element removed from
724+
the DOM, what happens to StyleSheet?
725+
-->
718726

719727
<p>A <dfn id=style-sheet>style sheet</dfn> is an abstract concept that
720728
represents any kind of style sheet. In the DOM a <a
@@ -747,8 +755,6 @@ <h3 id=style-sheet0><span class=secno>6.1 </span>Style Sheet</h3>
747755
<dd>
748756
<p>The <a href="#style-sheet">style sheet</a> that is the parent of the
749757
<a href="#style-sheet">style sheet</a>.
750-
</dd>
751-
<!-- XXX what if imported twice? -->
752758

753759
<dt><dfn id=style-sheet-media>style sheet media</dfn>
754760

cssom/Overview.src.html

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ <h3>Serializing Media Queries</h3>
283283

284284
<h4>Serializing Media Feature Values</h4>
285285

286+
<p class="XXX">This should probably be done in terms of mapping it to
287+
serializing CSS values as media features are defined in terms of CSS
288+
values after all.</p>
289+
286290
<p>To <dfn id="serialize-a-media-feature-value">serialize a media feature value</dfn>
287291
named <var title="">v</var> locate <var title="">v</var> in the first
288292
column of the table below and use the serialization format described in
@@ -487,8 +491,8 @@ <h2>Selectors</h2>
487491

488492
<li>
489493
<p>Convert pseudo-classes and pseudo-elements to their canonical form
490-
as given in the specification.</p>
491-
494+
as given in the specification.</p>
495+
492496
<p class="note">E.g. <code>:HOver</code> becomes <code>:hover</code> and
493497
<code>:befoRe</code> becomes <code>::before</code>.</span></p>
494498
</li>
@@ -505,6 +509,11 @@ <h2>Style Sheets</h2>
505509

506510
<h3>Style Sheet</h3>
507511

512+
<!-- XXX
513+
element inserted into the DOM, style sheet created, element removed from
514+
the DOM, what happens to StyleSheet?
515+
-->
516+
508517
<p>A <dfn id="style-sheet">style sheet</dfn> is an abstract concept that
509518
represents any kind of style sheet. In the DOM a <span>style sheet</span>
510519
is a <code>StyleSheet</code> object. A <span>style sheet</span> has a
@@ -527,8 +536,6 @@ <h3>Style Sheet</h3>
527536
<dd><p>The <span>style sheet</span> that is the parent of the
528537
<span>style sheet</span>.</p></dd>
529538

530-
<!-- XXX what if imported twice? -->
531-
532539
<dt><dfn id="style-sheet-media">style sheet media</dfn></dt>
533540
<dd>
534541
<p>The <code>MediaList</code> object associated with the
@@ -577,7 +584,7 @@ <h3>Style Sheet</h3>
577584
<span>style sheet</span> is actually rendered.</p>
578585
</dd>
579586
</dl>
580-
587+
581588
<p>When you are to <span>create a style sheet</span> the above properties
582589
are to be set to their proper values.</p>
583590

0 commit comments

Comments
 (0)