Skip to content

Commit 78e4a22

Browse files
committed
map empty string ns to no ns, since XML and DOM don't distinguish either
1 parent 764d16c commit 78e4a22

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

css3-namespace/Overview.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
<h1 id=css-namespaces>CSS Namespaces Module</h1>
1717

18-
<h2 class="no-num no-toc" id=longstatus>Editor's Draft 16 February 2008</h2>
18+
<h2 class="no-num no-toc" id=longstatus>Editor's Draft 19 February 2008</h2>
1919

2020
<dl>
2121
<dt>This version:</dt>
22-
<!-- <dd><a href="http://www.w3.org/TR/2008/WD-css3-namespace-20080216/">http://www.w3.org/TR/2008/WD-css3-namespace-20080216/</a></dd> -->
22+
<!-- <dd><a href="http://www.w3.org/TR/2008/WD-css3-namespace-20080219/">http://www.w3.org/TR/2008/WD-css3-namespace-20080219/</a></dd> -->
2323

2424
<dd><a
2525
href="http://dev.w3.org/csswg/css3-namespace/">http://dev.w3.org/csswg/css3-namespace/</a>
@@ -351,8 +351,9 @@ <h2 id=css-qnames><span class=secno>4. </span>CSS Qualified Names</h2>
351351
separated by a "vertical bar" (<code>|</code>, U+007C). The prefix,
352352
representing the namespace for which it has been declared, indicates the
353353
namespace of the local name. The prefix of a qualified name may be
354-
omitted to indicate that the name belongs to no namespace. Some contexts
355-
may allow the use of an asterisk (<code>*</code>, U+002A) as a wildcard
354+
omitted to indicate that the name belongs to no namespace, i.e. that the
355+
namespace name part of the expanded name has no value. Some contexts may
356+
allow the use of an asterisk (<code>*</code>, U+002A) as a wildcard
356357
prefix to indicate a name in any namespace, including no namespace.</p>
357358

358359
<div class=example>
@@ -392,6 +393,10 @@ <h2 id=css-qnames><span class=secno>4. </span>CSS Qualified Names</h2>
392393
cause the selector or declaration (etc.) to be considered invalid and, in
393394
CSS, <a
394395
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.</p>
396+
397+
<p>In a CSS qualified name, a prefix that is declared to represent the
398+
empty string namespace (<code>""</code>) is interpreted as representing
399+
no namespace.</p>
395400
</div>
396401

397402
<h2 class=no-num id=acknowledgments>Acknowledgments</h2>

css3-namespace/Overview.src.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ <h2 id="css-qnames">CSS Qualified Names</h2>
278278
should treat undeclared namespace prefixes as a parsing error that will
279279
cause the selector or declaration (etc.) to be considered invalid and, in
280280
CSS, <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.</p>
281+
282+
<p>In a CSS qualified name, a prefix that is declared to represent the
283+
empty string namespace (<code>""</code>) is interpreted as representing
284+
no namespace.</p>
281285
</div>
282286

283287
<h2 class="no-num" id="acknowledgments">Acknowledgments</h2>

0 commit comments

Comments
 (0)