Skip to content

Commit 1c158b6

Browse files
committed
[selectors] The level 1/2/STTS profiles section doesn't seem useful. Killed.
1 parent 9af1aec commit 1c158b6

2 files changed

Lines changed: 18 additions & 260 deletions

File tree

selectors/Overview.html

Lines changed: 18 additions & 165 deletions
Original file line numberDiff line numberDiff line change
@@ -484,39 +484,30 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
484484

485485
<li><a href="#grammar"><span class=secno>16. </span> Grammar</a>
486486

487-
<li><a href="#profiling"><span class=secno>17. </span> Profiles</a>
487+
<li><a href="#conformance"><span class=secno>17. </span> Conformance</a>
488488
<ul class=toc>
489-
<li><a href="#css-profiles"><span class=secno>17.1. </span> CSS
490-
Profiles</a>
491-
492-
<li><a href="#stts-profile"><span class=secno>17.2. </span> STTS
493-
Profiles</a>
494-
</ul>
495-
496-
<li><a href="#conformance"><span class=secno>18. </span> Conformance</a>
497-
<ul class=toc>
498-
<li><a href="#conventions"><span class=secno>18.1. </span>Document
489+
<li><a href="#conventions"><span class=secno>17.1. </span>Document
499490
Conventions</a>
500491

501-
<li><a href="#conformance-classes"><span class=secno>18.2. </span>
492+
<li><a href="#conformance-classes"><span class=secno>17.2. </span>
502493
Conformance Classes</a>
503494

504-
<li><a href="#partial"><span class=secno>18.3. </span> Partial
495+
<li><a href="#partial"><span class=secno>17.3. </span> Partial
505496
Implementations</a>
506497

507-
<li><a href="#experimental"><span class=secno>18.4. </span> Experimental
498+
<li><a href="#experimental"><span class=secno>17.4. </span> Experimental
508499
Implementations</a>
509500
</ul>
510501

511-
<li><a href="#acknowledgements"><span class=secno>19. </span>
502+
<li><a href="#acknowledgements"><span class=secno>18. </span>
512503
Acknowledgements</a>
513504

514-
<li><a href="#references"><span class=secno>20. </span> References</a>
505+
<li><a href="#references"><span class=secno>19. </span> References</a>
515506
<ul class=toc>
516-
<li><a href="#normative-references"><span class=secno>20.1. </span>
507+
<li><a href="#normative-references"><span class=secno>19.1. </span>
517508
Normative References</a>
518509

519-
<li><a href="#informative-references"><span class=secno>20.2. </span>
510+
<li><a href="#informative-references"><span class=secno>19.2. </span>
520511
Informative References</a>
521512
</ul>
522513
</ul>
@@ -4137,147 +4128,9 @@ <h2 id=grammar><span class=secno>16. </span><a id=formal-syntax></a>
41374128
<dd> An <code>id</code>.
41384129
</dl>
41394130

4140-
<h2 id=profiling><span class=secno>17. </span> Profiles</h2>
4141-
4142-
<p>Each specification using Selectors must define the subset of Selectors
4143-
it allows and excludes, and describe the local meaning of all the
4144-
components of that subset.
4145-
4146-
<h3 id=css-profiles><span class=secno>17.1. </span> CSS Profiles</h3>
4147-
4148-
<p><em>This section is non-normative.</em>
4149-
4150-
<p>
4151-
4152-
<p>In CSS, selectors express pattern matching rules that determine which
4153-
style rules apply to elements in the document tree.
4154-
4155-
<p>The following selector (CSS level 2) will <b>match</b> all anchors
4156-
<code>a</code> with attribute <code>name</code> set inside a section 1
4157-
header <code>h1</code>:
4158-
4159-
<pre>h1 a[name]</pre>
4160-
4161-
<p>All CSS declarations attached to such a selector are applied to elements
4162-
matching it.
4163-
4164-
<table class=tprofile>
4165-
<caption>CSS Level 1 Selectors Profile</caption>
4166-
4167-
<tbody>
4168-
<tr>
4169-
<th>Specification
4170-
4171-
<td><a href="http://www.w3.org/TR/CSS1/">CSS level 1</a>
4172-
4173-
<tr>
4174-
<th>Accepts
4175-
4176-
<td>type selectors<br>
4177-
class selectors<br>
4178-
ID selectors<br>
4179-
:link, :visited and :active pseudo-classes<br>
4180-
descendant combinator <br>
4181-
::first-line and ::first-letter pseudo-elements
4182-
4183-
<tr>
4184-
<th>Excludes
4185-
4186-
<td>namespace prefixes
4187-
4188-
<tr>
4189-
<th>Extra constraints
4190-
4191-
<td>only one class selector allowed per <a href="#compound"><i>compound
4192-
selector</i></a>, pseudo-elements only accept one-colon syntax
4193-
</table>
4194-
4195-
<table class=tprofile>
4196-
<caption>CSS Level 2 Selectors Profile</caption>
4197-
4198-
<tbody>
4199-
<tr>
4200-
<th>Specification
4201-
4202-
<td><a href="http://www.w3.org/TR/CSS2/">CSS level 2</a>
4203-
4204-
<tr>
4205-
<th>Accepts
4206-
4207-
<td>type selectors<br>
4208-
universal selector<br>
4209-
attribute presence and values selectors<br>
4210-
class selectors<br>
4211-
ID selectors<br>
4212-
:link, :visited, :active, :hover, :focus, :lang() and :first-child
4213-
pseudo-classes <br>
4214-
descendant combinator<br>
4215-
child combinator<br>
4216-
adjacent-sibling combinator<br>
4217-
::first-line and ::first-letter pseudo-elements<br>
4218-
::before and ::after pseudo-elements
4219-
4220-
<tr>
4221-
<th>Excludes
4222-
4223-
<td>namespaces, case-insensitive attribute selectors
4224-
4225-
<tr>
4226-
<th>Extra constraints
4227-
4228-
<td>pseudo-elements only accept one-colon syntax
4229-
</table>
4230-
4231-
<h3 id=stts-profile><span class=secno>17.2. </span> STTS Profiles</h3>
4232-
4233-
<p><em>This section is non-normative.</em>
4234-
4235-
<p>Selectors can be used in STTS 3 in two different manners:
4236-
4237-
<ol>
4238-
<li>a selection mechanism equivalent to CSS selection mechanism:
4239-
declarations attached to a given selector are applied to elements
4240-
matching that selector,
4241-
4242-
<li>fragment descriptions that appear on the right side of declarations.
4243-
</ol>
4244-
4245-
<table class=tprofile>
4246-
<caption>STTS3 Selectors Profile</caption>
4247-
4248-
<tbody>
4249-
<tr>
4250-
<th>Specification
4251-
4252-
<td><a href="http://www.w3.org/TR/NOTE-STTS3">STTS 3</a>
4253-
4254-
<tr>
4255-
<th>Accepts
4256-
4257-
<td>type selectors<br>
4258-
universal selectors<br>
4259-
attribute selectors<br>
4260-
class selectors<br>
4261-
ID selectors<br>
4262-
level 3 structural pseudo-classes<br>
4263-
all combinators except reference combinator<br>
4264-
namespaces
4265-
4266-
<tr>
4267-
<th>Excludes
4268-
4269-
<td>namespaces, case-insensitive attribute selectors
4270-
4271-
<tr>
4272-
<th>Extra constraints
4273-
4274-
<td>some selectors and combinators are not allowed in fragment
4275-
descriptions on the right side of STTS declarations.
4276-
</table>
4277-
4278-
<h2 id=conformance><span class=secno>18. </span> Conformance</h2>
4131+
<h2 id=conformance><span class=secno>17. </span> Conformance</h2>
42794132

4280-
<h3 id=conventions><span class=secno>18.1. </span>Document Conventions</h3>
4133+
<h3 id=conventions><span class=secno>17.1. </span>Document Conventions</h3>
42814134

42824135
<p>Conformance requirements are expressed with a combination of descriptive
42834136
assertions and RFC 2119 terminology. The key words “MUST”, “MUST
@@ -4304,7 +4157,7 @@ <h3 id=conventions><span class=secno>18.1. </span>Document Conventions</h3>
43044157

43054158
<p class=note>Note, this is an informative note.
43064159

4307-
<h3 id=conformance-classes><span class=secno>18.2. </span> Conformance
4160+
<h3 id=conformance-classes><span class=secno>17.2. </span> Conformance
43084161
Classes</h3>
43094162

43104163
<p>Conformance to Selectors Level 4 is defined for three conformance
@@ -4350,14 +4203,14 @@ <h3 id=conformance-classes><span class=secno>18.2. </span> Conformance
43504203
selectors. (In the case of CSS, the entire rule in which the selector is
43514204
used is effectively dropped.)
43524205

4353-
<h3 id=partial><span class=secno>18.3. </span> Partial Implementations</h3>
4206+
<h3 id=partial><span class=secno>17.3. </span> Partial Implementations</h3>
43544207

43554208
<p>So that authors can exploit the forward-compatible parsing rules to
43564209
trigger fallback behavior, UAs <strong>must</strong> treat as <a
43574210
href="#invalid">invalid</a> any selectors for which they have no usable
43584211
level of support.
43594212

4360-
<h3 id=experimental><span class=secno>18.4. </span> Experimental
4213+
<h3 id=experimental><span class=secno>17.4. </span> Experimental
43614214
Implementations</h3>
43624215

43634216
<p>To avoid clashes with future Selectors features, the Selectors
@@ -4379,7 +4232,7 @@ <h2 id="Tests">Tests</h2>
43794232
and does not cover all possible combined cases of Selectors.
43804233
-->
43814234

4382-
<h2 id=acknowledgements><span class=secno>19. </span> Acknowledgements</h2>
4235+
<h2 id=acknowledgements><span class=secno>18. </span> Acknowledgements</h2>
43834236

43844237
<p>The CSS working group would like to thank everyone who contributed to
43854238
the <a href="http://www.w3.org/TR/css3-selectors">previous Selectors</a>
@@ -4391,9 +4244,9 @@ <h2 id=acknowledgements><span class=secno>19. </span> Acknowledgements</h2>
43914244
David Baron, Andrew Fedoniouk, Ian Hickson, Grey Hodge, Lachlan Hunt,
43924245
Jason Cranford Teague
43934246

4394-
<h2 id=references><span class=secno>20. </span> References</h2>
4247+
<h2 id=references><span class=secno>19. </span> References</h2>
43954248

4396-
<h3 id=normative-references><span class=secno>20.1. </span> Normative
4249+
<h3 id=normative-references><span class=secno>19.1. </span> Normative
43974250
References</h3>
43984251
<!--begin-normative-->
43994252
<!-- Sorted by label -->
@@ -4468,7 +4321,7 @@ <h3 id=normative-references><span class=secno>20.1. </span> Normative
44684321
</dl>
44694322
<!--end-normative-->
44704323

4471-
<h3 id=informative-references><span class=secno>20.2. </span> Informative
4324+
<h3 id=informative-references><span class=secno>19.2. </span> Informative
44724325
References</h3>
44734326
<!--begin-informative-->
44744327
<!-- Sorted by label -->

selectors/Overview.src.html

Lines changed: 0 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -3038,101 +3038,6 @@ <h2 id="grammar"><a id="formal-syntax"></a>
30383038
</dl>
30393039

30403040

3041-
3042-
<h2 id="profiling">
3043-
Profiles</h2>
3044-
3045-
<p>Each specification using Selectors must define the subset of
3046-
Selectors it allows and excludes, and describe the local meaning of
3047-
all the components of that subset.
3048-
3049-
<h3 id="css-profiles">
3050-
CSS Profiles</h3>
3051-
3052-
<p><em>This section is non-normative.</em><p>
3053-
3054-
<p>In CSS, selectors express pattern matching rules that determine which style
3055-
rules apply to elements in the document tree.
3056-
3057-
<p>The following selector (CSS level 2) will <b>match</b> all anchors <code>a</code>
3058-
with attribute <code>name</code> set inside a section 1 header <code>h1</code>:
3059-
<pre>h1 a[name]</pre>
3060-
3061-
<p>All CSS declarations attached to such a selector are applied to elements
3062-
matching it.
3063-
3064-
<table class="tprofile">
3065-
<caption>CSS Level 1 Selectors Profile</caption>
3066-
<tr>
3067-
<th>Specification</th>
3068-
<td><a href="http://www.w3.org/TR/CSS1/">CSS level 1</a>
3069-
<tr>
3070-
<th>Accepts</th>
3071-
<td>type selectors<br>class selectors<br>ID selectors<br>:link,
3072-
:visited and :active pseudo-classes<br>descendant combinator
3073-
<br>::first-line and ::first-letter pseudo-elements
3074-
<tr>
3075-
<th>Excludes
3076-
<td>namespace prefixes
3077-
<tr>
3078-
<th>Extra constraints</th>
3079-
<td>only one class selector allowed per <i>compound selector</i>,
3080-
pseudo-elements only accept one-colon syntax
3081-
</table>
3082-
3083-
<table class="tprofile">
3084-
<caption>CSS Level 2 Selectors Profile</caption>
3085-
<tr>
3086-
<th>Specification</th>
3087-
<td><a href="http://www.w3.org/TR/CSS2/">CSS level 2</a>
3088-
<tr>
3089-
<th>Accepts</th>
3090-
<td>type selectors<br>universal selector<br>attribute presence and
3091-
values selectors<br>class selectors<br>ID selectors<br>:link, :visited,
3092-
:active, :hover, :focus, :lang() and :first-child pseudo-classes
3093-
<br>descendant combinator<br>child combinator<br>adjacent-sibling
3094-
combinator<br>::first-line and ::first-letter pseudo-elements<br>::before
3095-
and ::after pseudo-elements
3096-
<tr>
3097-
<th>Excludes
3098-
<td>namespaces, case-insensitive attribute selectors
3099-
<tr>
3100-
<th>Extra constraints</th>
3101-
<td>pseudo-elements only accept one-colon syntax
3102-
</table>
3103-
3104-
<h3 id="stts-profile">
3105-
STTS Profiles</h3>
3106-
3107-
<p><em>This section is non-normative.</em>
3108-
3109-
<p>Selectors can be used in STTS 3 in two different manners:
3110-
<ol>
3111-
<li>a selection mechanism equivalent to CSS selection mechanism: declarations
3112-
attached to a given selector are applied to elements matching that selector,
3113-
<li>fragment descriptions that appear on the right side of declarations.
3114-
</ol>
3115-
3116-
<table class="tprofile">
3117-
<caption>STTS3 Selectors Profile</caption>
3118-
<tr>
3119-
<th>Specification</th>
3120-
<td><a href="http://www.w3.org/TR/NOTE-STTS3">STTS 3</a>
3121-
3122-
<tr>
3123-
<th>Accepts</th>
3124-
<td>type selectors<br>universal selectors<br>attribute selectors<br>class
3125-
selectors<br>ID selectors<br>level 3 structural pseudo-classes<br>
3126-
all combinators except reference combinator<br>namespaces
3127-
<tr>
3128-
<th>Excludes
3129-
<td>namespaces, case-insensitive attribute selectors
3130-
<tr>
3131-
<th>Extra constraints</th>
3132-
<td>some selectors and combinators are not allowed in fragment
3133-
descriptions on the right side of STTS declarations.
3134-
</table>
3135-
31363041
<h2 id="conformance">
31373042
Conformance</h2>
31383043

0 commit comments

Comments
 (0)