8000 editorial simplification of empty string texts · w3c/csswg-drafts@1211163 · GitHub
Skip to content

Commit 1211163

Browse files
committed
editorial simplification of empty string texts
1 parent 9dca583 commit 1211163

2 files changed

Lines changed: 65 additions & 54 deletions

File tree

css3-namespace/Overview.html

Lines changed: 49 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<body>
1212
<div class=head> <!--begin-logo-->
1313
<p><a href="http://www.w3.org/"><img alt=W3C height=48
14-
src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo-->
14+
src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo--></p>
1515

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

18-
<h2 class="no-num no-toc" id=longstatus>Editor's Draft 22 April 2008</h2>
18+
<h2 class="no-num no-toc" id=longstatus>Editor's Draft 23 April 2008</h2>
1919

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

2424
<dd><a
2525
href="http://dev.w3.org/csswg/css3-namespace/">http://dev.w3.org/csswg/css3-namespace/</a>
@@ -80,9 +80,34 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
8080
<!--begin-status-->
8181

8282
<p>This is a public copy of the editors' draft. It is provided for
83-
discussion only and may change at any moment. It probably contains errors.
84-
Its publication here does not imply endorsement of its contents by W3C.
85-
<!--end-status-->
83+
discussion only and may change at any moment. Its publication here does
84+
not imply endorsement of its contents by W3C. Don't cite this document
85+
other than as work in progress.
86+
87+
<p>The (<a
88+
href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) public
89+
mailing list <a href="mailto:www-style@w3.org">www-style@w3.org</a> (see
90+
<a href="http://www.w3.org/Mail/Request">instructions</a>) is preferred
91+
for discussion of this specification. When sending e-mail, please put the
92+
text &#8220;css3-namespace&#8221; in the subject, preferably like this:
93+
&#8220;[<!---->css3-namespace<!---->] <em>&hellip;summary of
94+
comment&hellip;</em>&#8221;
95+
96+
<p>This document was produced by the <a href="/Style/CSS/members">CSS
97+
Working Group</a> (part of the <a href="/Style/">Style Activity</a>).
98+
99+
<p>This document was produced by a group operating under the <a
100+
href="/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent
101+
Policy</a>. W3C maintains a <a href="/2004/01/pp-impl/32061/status"
102+
rel=disclosure>public list of any patent disclosures</a> made in
103+
connection with the deliverables of the group; that page also includes
104+
instructions for disclosing a patent. An individual who has actual
105+
knowledge of a patent which the individual believes contains <a
106+
href="/Consortium/Patent-Policy-20040205/#def-essential">Essential
107+
Claim(s)</a> must disclose the information in accordance with <a
108+
href="/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the
109+
W3C Patent Policy</a>.</p>
110+
<!--end-status-->
86111

87112
<p>This specification is a <strong>Last Call Working Draft</strong>. All
88113
persons are encouraged to review this document and <strong>send comments
@@ -146,7 +171,7 @@ <h2 id=intro><span class=secno>1. </span>Introduction</h2>
146171
or what they mean: that depends on their context and is defined by a host
147172
language, such as Selectors (<a href="#SELECT"
148173
rel=biblioentry>[SELECT]<!--{{SELECT}}--></a>), that references the
149-
syntax defined in the CSS Namespaces module.
174+
syntax defined in the CSS Namespaces module.</p>
150175

151176
<p>Note that a CSS client that does not support this module will (if it
152177
properly conforms to <a
@@ -166,7 +191,7 @@ <h2 id=conformance><span class=secno>2. </span>Conformance</h2>
166191
conformance requirements in this specification when implementing CSS or
167192
another host language that normatively references this specification.</p>
168193

169-
<p>Conformance to CSS Namespaces is defined for two classes:
194+
<p>Conformance to CSS Namespaces is defined for two classes:</p>
170195

171196
<dl>
172197
<dt><dfn id=style>style sheet</dfn>
@@ -194,14 +219,14 @@ <h2 id=conformance><span class=secno>2. </span>Conformance</h2>
194219

195220
<p>Examples in this specification are introduced with the words "for
196221
example" or are set apart from the normative text with
197-
<code>class="example"</code>, like this:
222+
<code>class="example"</code>, like this:</p>
198223

199224
<div class=example>
200225
<p>This is an example of an informative example.</p>
201226
</div>
202227

203228
<p>Informative notes begin with the word "Note" and are set apart from the
204-
normative text with <code>class="note"</code>, like this:
229+
normative text with <code>class="note"</code>, like this:</p>
205230

206231
<p class=note>Note, this is an informative note.</p>
207232
< 77EC br>
@@ -213,6 +238,20 @@ <h3 id=terminology><span class=secno>2.1 </span>Terminology</h3>
213238
syntax defined here is not restricted to representing XML element and
214239
attribute names and may represent other kinds of namespaces as defined by
215240
the host language.</p>
241+
242+
<p>In CSS Namespaces a namespace name consisting of the empty string is
243+
taken to represent the null namespace or lack of a namespace.</p>
244+
245+
<div class=example>
246+
<p>For example, given the namespace declarations:</p>
247+
248+
<pre>@namespace empty "";
249+
<!-- -->@namespace "";</pre>
250+
251+
<p>The <a href="http://www.w3.org/TR/css3-selectors/#type-selectors">type
252+
selectors</a> <code>elem</code>, <code>|elem</code>, and
253+
<code>empty|elem</code> are equivalent.</p>
254+
</div>
216255
</div>
217256

218257
<div>
@@ -337,10 +376,6 @@ <h3 id=prefixes><span class=secno>3.3 </span>Declaring Prefixes</h3>
337376
must define how those unqualified names are to be interpreted when no
338377
default namespace is declared.</p>
339378

340-
<p>Where the empty string is not recognized as a possible namespace, local
341-
names associated with an empty string default namespace must be
342-
interpreted as being associated with no namespace.</p>
343-
344379
<p class=note>Note that using default namespaces in conjunction with type
345380
selectors can cause UAs that support default namespaces and UAs that
346381
don't support default namespaces to interpret selectors differently. See
@@ -431,23 +466,6 @@ <h2 id=css-qnames><span class=secno>4. </span>CSS Qualified Names</h2>
431466
<a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> requires
432467
rule sets with an invalid selector to be completely ignored.</p>
433468
</div>
434-
435-
<p>When a CSS qualified name is used in a context (such as Selectors <a
436-
href="#SELECT" rel=biblioentry>[SELECT]<!--{{SELECT}}--></a>) that does
437-
not recognize association with the empty string namespace and lack of a
438-
namespace as two distinct, valid possibilities, prefixes representing the
439-
empty string namespace and no namespace must be treated as equivalent.</p>
440-
441-
<div class=example>
442-
<p>For example, given the namespace declarations:</p>
443-
444-
<pre>@namespace empty "";
445-
<!-- -->@namespace "";</pre>
446-
447-
<p>The <a href="http://www.w3.org/TR/css3-selectors/#type-selectors">type
448-
selectors</a> <code>elem</code>, <code>|elem</code>, and
449-
<code>empty|elem</code> are equivalent.</p>
450-
</div>
451469
</div>
452470

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

css3-namespace/Overview.src.html

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1>CSS Namespaces Module</h1>
1717
<h2 class="no-num no-toc">[LONGSTATUS] [DATE: 15 February 2008]</h2>
1818
<dl>
1919
<dt>This version:</dt>
20-
<!-- <dd><a href="http://www.w3.org/TR/[YEAR]/WD-css3-namespace-[CDATE]/">http://www.w3.org/TR/[YEAR]/WD-css3-namespace-[CDATE]/</a></dd> -->
20+
<!-- <dd><a href="http://www.w3.org/TR/[YEAR]/CR-css3-namespace-[CDATE]/">http://www.w3.org/TR/[YEAR]/CR-css3-namespace-[CDATE]/</a></dd> -->
2121
<dd><a href="http://dev.w3.org/csswg/css3-namespace/">http://dev.w3.org/csswg/css3-namespace/</a>
2222
<dt>Latest version:</dt>
2323
<dd><a href="http://www.w3.org/TR/css3-namespace/">http://www.w3.org/TR/css3-namespace/</a></dd>
@@ -128,15 +128,28 @@ <h2 id="conformance">Conformance</h2>
128128

129129
<p class="note">Note, this is an informative note.</p>
130130

131-
132131
<h3 id="terminology">Terminology</h3>
133-
132+
134133
<p>Besides terms introduced by this specification, CSS Namespaces uses the
135134
terminology defined in Namespaces in XML 1.0. [[!REC-XML-NAMES]] However,
136135
the syntax defined here is not restricted to representing XML element and
137136
attribute names and may represent other kinds of namespaces as defined by
138137
the host language.
139138
</p>
139+
140+
<p>In CSS Namespaces a namespace name consisting of the empty string is
141+
taken to represent the null namespace or lack of a namespace.</p>
142+
143+
<div class="example">
144+
<p>For example, given the namespace declarations:</p>
145+
146+
<pre>@namespace empty "";
147+
<!-- -->@namespace "";</pre>
148+
149+
<p>The <a href="http://www.w3.org/TR/css3-selectors/#type-selectors">type
150+
selectors</a> <code>elem</code>, <code>|elem</code>, and
151+
<code>empty|elem</code> are equivalent.</p>
152+
</div>
140153
</div>
141154

142155
<div>
@@ -248,9 +261,6 @@ <h3 id="prefixes">Declaring Prefixes</h3>
248261
names to the default namespace must define how those unqualified names are
249262
to be interpreted when no default namespace is declared.</p>
250263

251-
<p>Local names associated with an empty string default namespace must be
252-
interpreted as being associated with no namespace.</p>
253-
254264
<p class="note">Note that using default namespaces in conjunction with type
255265
selectors can cause UAs that support default namespaces and UAs that don't
256266
support default namespaces to interpret selectors differently. See
@@ -330,23 +340,6 @@ <h2 id="css-qnames">CSS Qualified Names</h2>
330340
[[!CSS21]] requires rule sets with an invalid selector to be completely
331341
ignored.</p>
332342
</div>
333-
334-
<p>When a CSS qualified name is used in a context (such as Selectors [[SELECT]])
335-
that does not recognize association with the empty string namespace and
336-
lack of a namespace as two distinct, valid possibilities, prefixes
337-
representing the empty string namespace and no namespace must be treated
338-
as equivalent.</p>
339-
340-
<div class="example">
341-
<p>For example, given the namespace declarations:</p>
342-
343-
<pre>@namespace empty "";
344-
<!-- -->@namespace "";</pre>
345-
346-
<p>The <a href="http://www.w3.org/TR/css3-selectors/#type-selectors">type
347-
selectors</a> <code>elem</code>, <code>|elem</code>, and
348-
<code>empty|elem</code> are equivalent.</p>
349-
</div>
350343
</div>
351344

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

0 commit comments

Comments
 (0)