Skip to content

Commit e347911

Browse files
committed
Tweak experimental / partial implementation sections to apply properly to selectors
1 parent dd9dcab commit e347911

2 files changed

Lines changed: 27 additions & 27 deletions

File tree

selectors4/Overview.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
<h1 id=title>Selectors Level 4</h1>
1717

18-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 August 2011</h2>
18+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 August 2011</h2>
1919

2020
<dl>
2121
<dt>This version:
2222

23-
<dd> <!-- <a href="http://www.w3.org/TR/2011/ED-selectors4-20110803/">
24-
http://www.w3.org/TR/2011/WD-selectors4-20110803</a> -->
23+
<dd> <!-- <a href="http://www.w3.org/TR/2011/ED-selectors4-20110804/">
24+
http://www.w3.org/TR/2011/WD-selectors4-20110804</a> -->
2525
<a href="http://dev.w3.org/csswg/selectors4">
2626
http://dev.w3.org/csswg/selectors4</a>
2727

@@ -997,9 +997,11 @@ <h3 id=invalid><span class=secno>3.6. </span> Invalid Selectors and Error
997997
<li>a selector containing an invalid simple selector, an invalid
998998
combinator or an invalid token is invalid.
999999

1000-
<li>a group of selectors containing an invalid selector is invalid.
1000+
<li>a selector list containing an invalid selector is invalid.
10011001
</ul>
10021002

1003+
<p>An invalid selector represents nothing.
1004+
10031005
<p class=issue>It's been <a
10041006
href="http://lists.w3.org/Archives/Public/www-style/2010Nov/0203.html">requested</a>
10051007
that the last rule be dropped in favor of Media Queries-style
@@ -3236,18 +3238,16 @@ <h3 id=conformance-classes><span class=secno>17.1. </span> Conformance
32363238
or excludes, and describing any constraints it adds to the current
32373239
specification.
32383240

3239-
<p>Specifications reusing Selectors must define how to handle parsing
3240-
errors. (In the case of CSS, the entire rule in which the selector is used
3241-
is dropped.)
3241+
<p>Specifications reusing Selectors must define how to handle invalid
3242+
selectors. (In the case of CSS, the entire rule in which the selector is
3243+
used is effectively dropped.)
32423244

32433245
<h3 id=partial><span class=secno>17.2. </span> Partial Implementations</h3>
32443246

32453247
<p>So that authors can exploit the forward-compatible parsing rules to
3246-
assign fallback values, CSS renderers <strong>must</strong> treat as
3247-
invalid (and <a
3248-
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignore as
3249-
appropriate</a>) any at-rules, properties, property values, keywords, and
3250-
other syntactic constructs for which they have no usable level of support.
3248+
assign fallback values, UAs <strong>must</strong> treat as <a
3249+
href="#invalid">invalid</a> any selectors for which they have no usable
3250+
level of support.
32513251

32523252
<h3 id=experimental><span class=secno>17.3. </span> Experimental
32533253
Implementations</h3>
@@ -3257,11 +3257,11 @@ <h3 id=experimental><span class=secno>17.3. </span> Experimental
32573257
href="http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords">prefixed
32583258
syntax</a> for proprietary extensions to Selectors. The CSS Working Group
32593259
recommends that experimental implementations of features in Selectors
3260-
Working Drafts also use vendor-prefixed property or value names. This
3261-
avoids any incompatibilities with future changes in the draft. Once a
3262-
specification reaches the Candidate Recommendation stage, implementors
3263-
should implement the non-prefixed syntax for any feature they consider to
3264-
be correctly implemented according to spec.</p>
3260+
Working Drafts also use vendor-prefixed pseudo-element or pseudo-class
3261+
names. This avoids any incompatibilities with future changes in the draft.
3262+
Once a specification reaches the Candidate Recommendation stage,
3263+
implementors should implement the non-prefixed syntax for any feature they
3264+
consider to be correctly implemented according to spec.</p>
32653265
<!--
32663266
<h2 id=Tests>Tests</h2>
32673267

selectors4/Overview.src.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,11 @@ <h3 id=invalid>
561561
<li>a simple selector containing an <a href="#namespaces">undeclared namespace prefix</a> is invalid</li>
562562
<li>a selector containing an invalid simple selector, an invalid combinator
563563
or an invalid token is invalid. </li>
564-
<li>a group of selectors containing an invalid selector is invalid.</li>
564+
<li>a selector list containing an invalid selector is invalid.</li>
565565
</ul>
566566

567+
<p>An invalid selector represents nothing.
568+
567569
<p class="issue">It's been <a href="http://lists.w3.org/Archives/Public/www-style/2010Nov/0203.html">requested</a>
568570
that the last rule be dropped in favor of Media Queries-style error-handling.</p>
569571

@@ -2619,19 +2621,17 @@ <h3 id="conformance-classes">
26192621
subset of Selectors it accepts or excludes, and describing any constraints
26202622
it adds to the current specification.
26212623

2622-
<p>Specifications reusing Selectors must define how to handle parsing
2623-
errors. (In the case of CSS, the entire rule in which the selector is
2624-
used is dropped.)</p>
2624+
<p>Specifications reusing Selectors must define how to handle invalid
2625+
selectors. (In the case of CSS, the entire rule in which the selector is
2626+
used is effectively dropped.)</p>
26252627

26262628
<h3 id="partial">
26272629
Partial Implementations</h3>
26282630

26292631
<p>So that authors can exploit the forward-compatible parsing rules to
2630-
assign fallback values, CSS renderers <strong>must</strong>
2631-
treat as invalid (and <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignore
2632-
as appropriate</a>) any at-rules, properties, property values, keywords,
2633-
and other syntactic constructs for which they have no usable level of
2634-
support.</p>
2632+
assign fallback values, UAs <strong>must</strong>
2633+
treat as <a href="#invalid">invalid</a> any selectors for which they have
2634+
no usable level of support.</p>
26352635

26362636
<h3 id="experimental">
26372637
Experimental Implementations</h3>
@@ -2640,7 +2640,7 @@ <h3 id="experimental">
26402640
reserves a <a href="http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords">prefixed
26412641
syntax</a> for proprietary extensions to Selectors. The CSS Working Group
26422642
recommends that experimental implementations of features in Selectors Working
2643-
Drafts also use vendor-prefixed property or value names. This
2643+
Drafts also use vendor-prefixed pseudo-element or pseudo-class names. This
26442644
avoids any incompatibilities with future changes in the draft. Once a
26452645
specification reaches the Candidate Recommendation stage, implementors
26462646
should implement the non-prefixed syntax for any feature they consider to

0 commit comments

Comments
 (0)