1515
1616 < h1 id =css-namespaces > CSS Namespaces Module</ h1 >
1717
18- < h2 class ="no-num no-toc " id =longstatus > Editor's Draft 2 April 2008</ h2 >
18+ < h2 class ="no-num no-toc " id =longstatus > Editor's Draft 16 April 2008</ h2 >
1919
2020 < dl >
2121 < dt > This version:</ dt >
22- <!-- <dd><a href="http://www.w3.org/TR/2008/WD-css3-namespace-20080402 /">http://www.w3.org/TR/2008/WD-css3-namespace-20080402 /</a></dd> -->
22+ <!-- <dd><a href="http://www.w3.org/TR/2008/WD-css3-namespace-20080416 /">http://www.w3.org/TR/2008/WD-css3-namespace-20080416 /</a></dd> -->
2323
2424 < dd > < a
2525 href ="http://dev.w3.org/csswg/css3-namespace/ "> http://dev.w3.org/csswg/css3-namespace/</ a >
@@ -176,11 +176,11 @@ <h2 id=intro><span class=secno>1. </span>Introduction</h2>
176176 < p > Note that a CSS client that does not support this module will (if it
177177 properly conforms to < a
178178 href ="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors "> CSS's
179- forward-compatible parsing rules</ a > ) ignore all @namespace rules, as
180- well as all style rules that make use of namespace qualified names. The
181- syntax of delimiting namespace prefixes in CSS was deliberately chosen so
182- that these CSS clients would ignore the style rules rather than possibly
183- match them incorrectly.</ p >
179+ forward-compatible parsing rules</ a > ) ignore all < code > @namespace</ code >
180+ rules, as well as all style rules that make use of namespace qualified
181+ names. The syntax of delimiting namespace prefixes in CSS was
182+ deliberately chosen so that these CSS clients would ignore the style
183+ rules rather than possibly match them incorrectly.</ p >
184184 </ div >
185185
186186 < div >
@@ -244,7 +244,7 @@ <h3 id=terminology><span class=secno>2.1 </span>Terminology</h3>
244244 < h2 id =declaration > < span class =secno > 3. </ span > Declaring namespaces: the
245245 < code > @namespace</ code > rule</ h2 >
246246
247- < p > The @namespace < a
247+ < p > The < code > @namespace</ code > < a
248248 href ="http://www.w3.org/TR/CSS21/syndata.html#at-rules "> at-rule</ a >
249249 declares a namespace prefix and associates it with a given namespace name
250250 (a string). This namespace prefix can then be used in namespace-qualified
@@ -294,10 +294,10 @@ <h2 id=declaration><span class=secno>3. </span>Declaring namespaces: the
294294
295295 < h3 id =syntax > < span class =secno > 3.1 </ span > Syntax</ h3 >
296296
297- < p > The syntax for the @namespace rule is as follows (using the notation
298- from the < a href =" http://www.w3.org/TR/CSS21/grammar.html " > Grammar
299- appendix of CSS 2.1 </ a > < a href ="# CSS21"
300- rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > ):</ p >
297+ < p > The syntax for the < code > @namespace</ code > rule is as follows (using
298+ the notation from the < a
299+ href ="http://www.w3.org/TR/ CSS21/grammar.html " > Grammar appendix of CSS
300+ 2.1 </ a > < a href =" #CSS21 " rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > ):</ p >
301301
302302 < pre > <!--
303303 --> namespace
@@ -312,9 +312,9 @@ <h3 id=syntax><span class=secno>3.1 </span>Syntax</h3>
312312
313313 < pre > @{N}{A}{M}{E}{S}{P}{A}{C}{E} {return NAMESPACE_SYM;}</ pre >
314314
315- < p > Any @namespace rules must follow all @charset and @import rules and
316- precede all other non-ignored at-rules and rule sets in a style sheet.
317- For CSS syntax this adds < code > [ namespace [S|CDO|CDC]* ]*</ code >
315+ < p > Any < code > @namespace</ code > rules must follow all @charset and @import
316+ rules and precede all other non-ignored at-rules and rule sets in a style
317+ sheet. For CSS syntax this adds < code > [ namespace [S|CDO|CDC]* ]*</ code >
318318 immediately after < code > [ import [S|CDO|CDC]* ]*</ code > in the
319319 < code > stylesheet</ code > grammar.</ p >
320320
@@ -332,9 +332,9 @@ <h3 id=syntax><span class=secno>3.1 </span>Syntax</h3>
332332 < h3 id =scope > < span class =secno > 3.2 </ span > Scope</ h3 >
333333
334334 < p > The namespace prefix is declared only within the style sheet in which
335- its @namespace rule appears. It is not declared in any style sheets
336- importing or imported by that style sheet, nor in any other style sheets
337- applying to the document.</ p >
335+ its < code > @namespace</ code > rule appears. It is not declared in any style
336+ sheets importing or imported by that style sheet, nor in any other style
337+ sheets applying to the document.</ p >
338338
339339 < h3 id =prefixes > < span class =secno > 3.3 </ span > Declaring Prefixes</ h3 >
340340
@@ -447,7 +447,7 @@ <h2 id=css-qnames><span class=secno>4. </span>CSS Qualified Names</h2>
447447 < p > For example, the Selectors module < a href ="#SELECT "
448448 rel =biblioentry > [SELECT]<!--{{SELECT}}--> </ a > defines a type selector
449449 with an undeclared namespace prefix to be an invalid selector, and CSS
450- < a href ="#CSS21 " rel =biblioentry > [CSS21]<!--{{CSS21}}--> </ a > requires
450+ < a href ="#CSS21 " rel =biblioentry > [CSS21]<!--{{! CSS21}}--> </ a > requires
451451 rule sets with an invalid selector to be completely ignored.</ p >
452452 </ div >
453453
@@ -515,16 +515,6 @@ <h3 class=no-num id=informative-references>Informative references</h3>
515515 < dt style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
516516 <!---->
517517
518- < dt id =CSS21 > [CSS21]
519-
520- < dd > Bert Bos; et al. < a
521- href ="http://www.w3.org/TR/2007/CR-CSS21-20070719 "> < cite > Cascading Style
522- Sheets, level 2 revision 1.</ cite > </ a > 19 July 2007. W3C Candidate
523- Recommendation. (Work in progress.) URL: < a
524- href ="http://www.w3.org/TR/2007/CR-CSS21-20070719 "> http://www.w3.org/TR/2007/CR-CSS21-20070719</ a >
525- </ dd >
526- <!---->
527-
528518 < dt id =SELECT > [SELECT]
529519
530520 < dd > Daniel Glazman; Tantek Çelik; Ian Hickson (eds). < a
0 commit comments