2929 < div class =head >
3030 < h1 id =cssom > Cascading Style Sheets Object Model (< abbr > CSSOM</ abbr > )</ h1 >
3131
32- < h2 class ="no-num no-toc " id =""> Editor's draft <!--W3C Working Draft--> 27
32+ < h2 class ="no-num no-toc " id =""> Editor's draft <!--W3C Working Draft--> 28
3333 January 2007</ h2 >
3434
3535 < dl >
3636 < dt > This version:
3737
3838 < dd > < a
39- href ="http://www.w3.org/TR/2007/WD-cssom-20070127 "> http://www.w3.org/TR/2007/WD-cssom-20070127 /</ a >
39+ href ="http://www.w3.org/TR/2007/WD-cssom-20070128 "> http://www.w3.org/TR/2007/WD-cssom-20070128 /</ a >
4040
4141 < dt > Latest version:
4242
@@ -407,34 +407,6 @@ <h4 id=dom-feature><span class=secno>1.2.2. </span>DOM feature strings</h4>
407407
408408 < h2 id =accessing > < span class =secno > 2. </ span > Accessing style sheets through
409409 the DOM</ h2 >
410- <!--
411- <p>An <dfn>associated style sheet</dfn> is a style sheet that is explicitly
412- linked to or embedded within a document. (For the purposes of this definition
413- HTTP headers are part of the document.) Examples on how you can associate
414- style sheets with documents:</p>
415-
416- <ul>
417- <li>The HTML <code>meta</code> element;</li>
418- <li>The HTML <code>link</code> element;</li>
419- <li>The HTML <code>style</code> element;</li>
420- <li>The SVG <code>style</code> element;</li>
421- <li>The <code>xml-stylesheet</code> processing instruction;</li>
422- <li>The <code>Link</code> HTTP header.</li>
423- </ul>
424-
425- <p>The <span>style sheet set</span> that's initially rendered unless the user
426- has selected an alternate style sheet set is called the
427- <span>preferred style sheet set</span>. All others are called
428- <dfn title="alternate-style-sheet-set">alternate style sheet sets</dfn>. The
429- <dfn id="preferred-style-sheet-set">preferred style sheet set</dfn> is either
430- the first <span>style sheet set</span> or the style sheet set determined by
431- the last recieved <code>Default-Style</code> HTTP header.</p>
432-
433- <!-- I mention <code>Default-Style</code> here. Should this specification
434- define that header? It's already "defined" in HTML4, but it's very, very
435- vague.
436-
437- -->
438410
439411 < p > Each style sheet is represented by a < code > < a
440412 href ="#stylesheet "> StyleSheet</ a > </ code > object. These objects can be
@@ -495,7 +467,10 @@ <h4 id=requirements><span class=secno>2.2.1. </span>Requirements on
495467 the DOM < em class =ct > should</ em > define which objects implement the
496468 < code > < a href ="#linkstyle "> LinkStyle</ a > </ code > interface. In addition,
497469 these specifications < em class =ct > should</ em > define how these objects
498- create a < code > < a href ="#stylesheet "> StyleSheet</ a > </ code > object.
470+ affect the potentially associated < code > < a
471+ href ="#stylesheet "> StyleSheet</ a > </ code > object (when < code
472+ title =linkstyle-sheet > < a href ="#linkstyle-sheet "> sheet</ a > </ code > is
473+ non-< code > null</ code > ).
499474
500475 < h4 id =requirements0 > < span class =secno > 2.2.2. </ span > Requirements on
501476 specific user agents</ h4 >
@@ -510,27 +485,17 @@ <h4 id=requirements0><span class=secno>2.2.2. </span>Requirements on
510485 < code > HTMLMetaElement</ code > if the < code > Link</ code > HTTP header is
511486 supported.
512487
513- < p class =issue > Perhaps the above should be left to specifications defining
514- those objects .
488+ < p class =issue > Perhaps the above should be left to the HTML and SVG
489+ specifications .
515490
516491 < h4 id =ltxml-stylesheet > < span class =secno > 2.2.3.
517492 </ span > < code > <?xml-stylesheet?> </ code > processing instruction</ h4 >
518493
519- < p > User agents supporting supporting < code > ProcessingInstruction</ code > < em
520- class =ct > must</ em > support the < code > <?xml-stylesheet?> </ code >
521- processing instruction. They must also implement the < code > < a
494+ < p > User agents supporting supporting < code > <?xml-stylesheet?> </ code > < em
495+ class =ct > must</ em > implement the < code > < a
522496 href ="#linkstyle "> LinkStyle</ a > </ code > on objects implementing
523497 < code > ProcessingInstruction</ code > .
524498
525- < div class =issue >
526- < p > This section needs to define how to obtain pseudo-attributes from a
527- processing instruction. How to handle error handling. For instance, the
528- first attribute declaration wins.</ p >
529-
530- < p > This needs to be done in generic terms so other specifications can
531- reuse it.</ p >
532- </ div >
533-
534499 < h3 id =the-documentstyle > < span class =secno > 2.3. </ span > The < code > < a
535500 href ="#documentstyle "> DocumentStyle</ a > </ code > Interface</ h3 >
536501
0 commit comments