@@ -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 -->
0 commit comments