@@ -286,64 +286,61 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
286286 < li > < a href ="#parser-diagrams "> < span class =secno > 5.1. </ span > Parser
287287 Railroad Diagrams</ a >
288288
289- < li > < a href ="#parser-flags "> < span class =secno > 5.2. </ span > Parser
290- Flags</ a >
291-
292- < li > < a href ="#definitions0 "> < span class =secno > 5.3. </ span >
289+ < li > < a href ="#definitions0 "> < span class =secno > 5.2. </ span >
293290 Definitions</ a >
294291
295- < li > < a href ="#parser-entry-points "> < span class =secno > 5.4 . </ span > Parser
292+ < li > < a href ="#parser-entry-points "> < span class =secno > 5.3 . </ span > Parser
296293 Entry Points</ a >
297294 < ul class =toc >
298- < li > < a href ="#parse-a-stylesheet "> < span class =secno > 5.4 .1. </ span >
295+ < li > < a href ="#parse-a-stylesheet "> < span class =secno > 5.3 .1. </ span >
299296 Parse a stylesheet</ a >
300297
301- < li > < a href ="#parse-a-rule "> < span class =secno > 5.4 .2. </ span > Parse a
298+ < li > < a href ="#parse-a-rule "> < span class =secno > 5.3 .2. </ span > Parse a
302299 rule</ a >
303300
304- < li > < a href ="#parse-a-list-of-declarations "> < span class =secno > 5.4 .3.
301+ < li > < a href ="#parse-a-list-of-declarations "> < span class =secno > 5.3 .3.
305302 </ span > Parse a list of declarations</ a >
306303
307- < li > < a href ="#parse-a-component-value "> < span class =secno > 5.4 .4.
304+ < li > < a href ="#parse-a-component-value "> < span class =secno > 5.3 .4.
308305 </ span > Parse a component value</ a >
309306
310307 < li > < a href ="#parse-a-list-of-component-values "> < span
311- class =secno > 5.4 .5. </ span > Parse a list of component values</ a >
308+ class =secno > 5.3 .5. </ span > Parse a list of component values</ a >
312309
313310 < li > < a href ="#parse-a-comma-separated-list-of-componen "> < span
314- class =secno > 5.4 .6. </ span > Parse a comma-separated list of component
311+ class =secno > 5.3 .6. </ span > Parse a comma-separated list of component
315312 values</ a >
316313 </ ul >
317314
318- < li > < a href ="#parser-algorithms "> < span class =secno > 5.5 . </ span > Parser
315+ < li > < a href ="#parser-algorithms "> < span class =secno > 5.4 . </ span > Parser
319316 Algorithms</ a >
320317 < ul class =toc >
321- < li > < a href ="#consume-a-list-of-rules "> < span class =secno > 5.5 .1.
318+ < li > < a href ="#consume-a-list-of-rules "> < span class =secno > 5.4 .1.
322319 </ span > Consume a list of rules</ a >
323320
324- < li > < a href ="#consume-an-at-rule "> < span class =secno > 5.5 .2. </ span >
321+ < li > < a href ="#consume-an-at-rule "> < span class =secno > 5.4 .2. </ span >
325322 Consume an at-rule</ a >
326323
327- < li > < a href ="#consume-a-qualified-rule "> < span class =secno > 5.5 .3.
324+ < li > < a href ="#consume-a-qualified-rule "> < span class =secno > 5.4 .3.
328325 </ span > Consume a qualified rule</ a >
329326
330- < li > < a href ="#consume-a-list-of-declarations "> < span class =secno > 5.5 .4.
327+ < li > < a href ="#consume-a-list-of-declarations "> < span class =secno > 5.4 .4.
331328 </ span > Consume a list of declarations</ a >
332329
333- < li > < a href ="#consume-a-declaration "> < span class =secno > 5.5 .5. </ span >
330+ < li > < a href ="#consume-a-declaration "> < span class =secno > 5.4 .5. </ span >
334331 Consume a declaration</ a >
335332
336- < li > < a href ="#consume-a-component-value "> < span class =secno > 5.5 .6.
333+ < li > < a href ="#consume-a-component-value "> < span class =secno > 5.4 .6.
337334 </ span > Consume a component value</ a >
338335
339- < li > < a href ="#consume-a-simple-block "> < span class =secno > 5.5 .7. </ span >
336+ < li > < a href ="#consume-a-simple-block "> < span class =secno > 5.4 .7. </ span >
340337 Consume a simple block</ a >
341338
342- < li > < a href ="#consume-a-function "> < span class =secno > 5.5 .8. </ span >
339+ < li > < a href ="#consume-a-function "> < span class =secno > 5.4 .8. </ span >
343340 Consume a function</ a >
344341 </ ul >
345342
346- < li > < a href ="#changes-from-css-2.1-core-grammar "> < span class =secno > 5.6 .
343+ < li > < a href ="#changes-from-css-2.1-core-grammar "> < span class =secno > 5.5 .
347344 </ span > Changes from CSS 2.1 Core Grammar</ a >
348345 </ ul >
349346
@@ -3379,11 +3376,7 @@ <h3 id=parser-diagrams><span class=secno>5.1. </span> Parser Railroad
33793376 d ="M 392 41 h 20 m -10 -10 v 20 m 10 -20 v 20 "> </ path > </ g > </ svg >
33803377 </ dl >
33813378
3382- < h3 id =parser-flags > < span class =secno > 5.2. </ span > Parser Flags</ h3 >
3383-
3384- < p > No flags currently.
3385-
3386- < h3 id =definitions0 > < span class =secno > 5.3. </ span > Definitions</ h3 >
3379+ < h3 id =definitions0 > < span class =secno > 5.2. </ span > Definitions</ h3 >
33873380
33883381 < dl >
33893382 < dt > < dfn id =current-input-token > current input token</ dfn >
@@ -3426,7 +3419,7 @@ <h3 id=definitions0><span class=secno>5.3. </span> Definitions</h3>
34263419 them on a codepoint-by-codepoint basis.
34273420 </ dl >
34283421
3429- < h3 id =parser-entry-points > < span class =secno > 5.4 . </ span > Parser Entry
3422+ < h3 id =parser-entry-points > < span class =secno > 5.3 . </ span > Parser Entry
34303423 Points</ h3 >
34313424
34323425 < p > The algorithms defined in this specification can be invoked in multiple
@@ -3475,7 +3468,7 @@ <h3 id=parser-entry-points><span class=secno>5.4. </span> Parser Entry
34753468 list of tokens or of component values. Either way produces an identical
34763469 result.
34773470
3478- < h4 id =parse-a-stylesheet > < span class =secno > 5.4 .1. </ span > < dfn
3471+ < h4 id =parse-a-stylesheet > < span class =secno > 5.3 .1. </ span > < dfn
34793472 id =parse-a-stylesheet0 > Parse a stylesheet</ dfn > </ h4 >
34803473
34813474 < p > To < a href ="#parse-a-stylesheet0 "> < i > parse a stylesheet</ i > </ a > from a
@@ -3493,7 +3486,7 @@ <h4 id=parse-a-stylesheet><span class=secno>5.4.1. </span> <dfn
34933486 < li > Return the stylesheet.
34943487 </ ol >
34953488
3496- < h4 id =parse-a-rule > < span class =secno > 5.4 .2. </ span > < dfn
3489+ < h4 id =parse-a-rule > < span class =secno > 5.3 .2. </ span > < dfn
34973490 id =parse-a-rule0 > Parse a rule</ dfn > </ h4 >
34983491
34993492 < p > To < a href ="#parse-a-rule0 "> < i > parse a rule</ i > </ a > from a stream of
@@ -3531,7 +3524,7 @@ <h4 id=parse-a-rule><span class=secno>5.4.2. </span> <dfn
35313524 syntax error.
35323525 </ ol >
35333526
3534- < h4 id =parse-a-list-of-declarations > < span class =secno > 5.4 .3. </ span > < dfn
3527+ < h4 id =parse-a-list-of-declarations > < span class =secno > 5.3 .3. </ span > < dfn
35353528 id =parse-a-list-of-declarations0 > Parse a list of declarations</ dfn > </ h4 >
35363529
35373530 < p > To < a href ="#parse-a-list-of-declarations0 "> < i > parse a list of
@@ -3542,7 +3535,7 @@ <h4 id=parse-a-list-of-declarations><span class=secno>5.4.3. </span> <dfn
35423535 declarations</ i > </ a > . If anything was returned, return it.
35433536 </ ol >
35443537
3545- < h4 id =parse-a-component-value > < span class =secno > 5.4 .4. </ span > < dfn
3538+ < h4 id =parse-a-component-value > < span class =secno > 5.3 .4. </ span > < dfn
35463539 id =parse-a-component-value0 > Parse a component value</ dfn > </ h4 >
35473540
35483541 < p > To < a href ="#parse-a-component-value0 "> < i > parse a component
@@ -3562,7 +3555,7 @@ <h4 id=parse-a-component-value><span class=secno>5.4.4. </span> <dfn
35623555 step. Otherwise, return a syntax error.
35633556 </ ol >
35643557
3565- < h4 id =parse-a-list-of-component-values > < span class =secno > 5.4 .5. </ span >
3558+ < h4 id =parse-a-list-of-component-values > < span class =secno > 5.3 .5. </ span >
35663559 < dfn id =parse-a-list-of-component-values0 > Parse a list of component
35673560 values</ dfn > </ h4 >
35683561
@@ -3575,7 +3568,7 @@ <h4 id=parse-a-list-of-component-values><span class=secno>5.4.5. </span>
35753568 returned values into a list. Return the list.
35763569 </ ol >
35773570
3578- < h4 id =parse-a-comma-separated-list-of-componen > < span class =secno > 5.4 .6.
3571+ < h4 id =parse-a-comma-separated-list-of-componen > < span class =secno > 5.3 .6.
35793572 </ span > < dfn id =parse-a-comma-separated-list-of-componen0 > Parse a
35803573 comma-separated list of component values</ dfn > </ h4 >
35813574
@@ -3598,7 +3591,7 @@ <h4 id=parse-a-comma-separated-list-of-componen><span class=secno>5.4.6.
35983591 < var > val</ var > , and return < var > val</ var > .
35993592 </ ol >
36003593
3601- < h3 id =parser-algorithms > < span class =secno > 5.5 . </ span > Parser Algorithms</ h3 >
3594+ < h3 id =parser-algorithms > < span class =secno > 5.4 . </ span > Parser Algorithms</ h3 >
36023595
36033596 < p > The following algorithms comprise the parser. They are called by the
36043597 parser entry points above.
@@ -3617,7 +3610,7 @@ <h3 id=parser-algorithms><span class=secno>5.5. </span> Parser Algorithms</h3>
36173610 returning EOF tokens). Otherwise, it is implicitly invoked with the same
36183611 list as the invoking algorithm.
36193612
3620- < h4 id =consume-a-list-of-rules > < span class =secno > 5.5 .1. </ span > < dfn
3613+ < h4 id =consume-a-list-of-rules > < span class =secno > 5.4 .1. </ span > < dfn
36213614 id =consume-a-list-of-rules0 > Consume a list of rules</ dfn > </ h4 >
36223615
36233616 < p > Create an initially empty list of rules.
@@ -3658,7 +3651,7 @@ <h4 id=consume-a-list-of-rules><span class=secno>5.5.1. </span> <dfn
36583651 rules.
36593652 </ dl >
36603653
3661- < h4 id =consume-an-at-rule > < span class =secno > 5.5 .2. </ span > < dfn
3654+ < h4 id =consume-an-at-rule > < span class =secno > 5.4 .2. </ span > < dfn
36623655 id =consume-an-at-rule0 > Consume an at-rule</ dfn > </ h4 >
36633656
36643657 < p > Create a new at-rule with its name set to the value of the < a
@@ -3691,7 +3684,7 @@ <h4 id=consume-an-at-rule><span class=secno>5.5.2. </span> <dfn
36913684 value</ i > </ a > . Append the returned value to the at-rule's prelude.
36923685 </ dl >
36933686
3694- < h4 id =consume-a-qualified-rule > < span class =secno > 5.5 .3. </ span > < dfn
3687+ < h4 id =consume-a-qualified-rule > < span class =secno > 5.4 .3. </ span > < dfn
36953688 id =consume-a-qualified-rule0 > Consume a qualified rule</ dfn > </ h4 >
36963689
36973690 < p > Create a new qualified rule with its prelude initially set to an empty
@@ -3726,7 +3719,7 @@ <h4 id=consume-a-qualified-rule><span class=secno>5.5.3. </span> <dfn
37263719 value</ i > </ a > . Append the returned value to the qualified rule's prelude.
37273720 </ dl >
37283721
3729- < h4 id =consume-a-list-of-declarations > < span class =secno > 5.5 .4. </ span > < dfn
3722+ < h4 id =consume-a-list-of-declarations > < span class =secno > 5.4 .4. </ span > < dfn
37303723 id =consume-a-list-of-declarations0 > Consume a list of declarations</ dfn > </ h4 >
37313724
37323725 < p > Create an initially empty list of declarations.
@@ -3775,7 +3768,7 @@ <h4 id=consume-a-list-of-declarations><span class=secno>5.5.4. </span> <dfn
37753768 token</ i > </ a > until it is a semicolon token or EOF token.
37763769 </ dl >
37773770
3778- < h4 id =consume-a-declaration > < span class =secno > 5.5 .5. </ span > < dfn
3771+ < h4 id =consume-a-declaration > < span class =secno > 5.4 .5. </ span > < dfn
37793772 id =consume-a-declaration0 > Consume a declaration</ dfn > </ h4 >
37803773
37813774 < p > Create a new declaration with its name set to the value of the < a
@@ -3799,7 +3792,7 @@ <h4 id=consume-a-declaration><span class=secno>5.5.5. </span> <dfn
37993792
38003793 < p > Return the declaration.
38013794
3802- < h4 id =consume-a-component-value > < span class =secno > 5.5 .6. </ span > < dfn
3795+ < h4 id =consume-a-component-value > < span class =secno > 5.4 .6. </ span > < dfn
38033796 id =consume-a-component-value0 > Consume a component value</ dfn > </ h4 >
38043797
38053798 < p > This section describes how to < a
@@ -3816,7 +3809,7 @@ <h4 id=consume-a-component-value><span class=secno>5.5.6. </span> <dfn
38163809 < p > Otherwise, return the < a href ="#current-input-token "> < i > current input
38173810 token</ i > </ a > .
38183811
3819- < h4 id =consume-a-simple-block > < span class =secno > 5.5 .7. </ span > < dfn
3812+ < h4 id =consume-a-simple-block > < span class =secno > 5.4 .7. </ span > < dfn
38203813 id =consume-a-simple-block0 > Consume a simple block</ dfn > </ h4 >
38213814
38223815 < p > This section describes how to < a
@@ -3846,7 +3839,7 @@ <h4 id=consume-a-simple-block><span class=secno>5.5.7. </span> <dfn
38463839 value</ i > </ a > and append it to the value of the block.
38473840 </ dl >
38483841
3849- < h4 id =consume-a-function > < span class =secno > 5.5 .8. </ span > < dfn
3842+ < h4 id =consume-a-function > < span class =secno > 5.4 .8. </ span > < dfn
38503843 id =consume-a-function0 > Consume a function</ dfn > </ h4 >
38513844
38523845 < p > This section describes how to < a href ="#consume-a-function0 "> < i > consume
@@ -3873,7 +3866,7 @@ <h4 id=consume-a-function><span class=secno>5.5.8. </span> <dfn
38733866 < i > current argument</ i > .
38743867 </ dl >
38753868
3876- < h3 id =changes-from-css-2.1-core-grammar > < span class =secno > 5.6 . </ span >
3869+ < h3 id =changes-from-css-2.1-core-grammar > < span class =secno > 5.5 . </ span >
38773870 Changes from CSS 2.1 Core Grammar</ h3 >
38783871
38793872 < p > < em > This section is non-normative.</ em >
@@ -4324,7 +4317,7 @@ <h2 class=no-num id=index> Index</h2>
43244317 title ="section 4.5.4. "> < strong > 4.5.4.</ strong > </ a >
43254318
43264319 < li > ASCII case-insensitive, < a href ="#ascii-case-insensitive "
4327- title ="section 5.3 . "> < strong > 5.3 .</ strong > </ a >
4320+ title ="section 5.2 . "> < strong > 5.2 .</ strong > </ a >
43284321
43294322 < li > At-keyword state, < a href ="#at-keyword-state0 "
43304323 title ="section 4.4.6. "> < strong > 4.4.6.</ strong > </ a >
@@ -4360,32 +4353,32 @@ <h2 class=no-num id=index> Index</h2>
43604353 title ="section 5. "> < strong > 5.</ strong > </ a >
43614354
43624355 < li > Consume a component value, < a href ="#consume-a-component-value0 "
4363- title ="section 5.5 .6. "> < strong > 5.5 .6.</ strong > </ a >
4356+ title ="section 5.4 .6. "> < strong > 5.4 .6.</ strong > </ a >
43644357
43654358 < li > Consume a declaration, < a href ="#consume-a-declaration0 "
4366- title ="section 5.5 .5. "> < strong > 5.5 .5.</ strong > </ a >
4359+ title ="section 5.4 .5. "> < strong > 5.4 .5.</ strong > </ a >
43674360
43684361 < li > Consume a function, < a href ="#consume-a-function0 "
4369- title ="section 5.5 .8. "> < strong > 5.5 .8.</ strong > </ a >
4362+ title ="section 5.4 .8. "> < strong > 5.4 .8.</ strong > </ a >
43704363
43714364 < li > Consume a list of declarations, < a
43724365 href ="#consume-a-list-of-declarations0 "
4373- title ="section 5.5 .4. "> < strong > 5.5 .4.</ strong > </ a >
4366+ title ="section 5.4 .4. "> < strong > 5.4 .4.</ strong > </ a >
43744367
43754368 < li > Consume a list of rules, < a href ="#consume-a-list-of-rules0 "
4376- title ="section 5.5 .1. "> < strong > 5.5 .1.</ strong > </ a >
4369+ title ="section 5.4 .1. "> < strong > 5.4 .1.</ strong > </ a >
43774370
43784371 < li > Consume an at-rule, < a href ="#consume-an-at-rule0 "
4379- title ="section 5.5 .2. "> < strong > 5.5 .2.</ strong > </ a >
4372+ title ="section 5.4 .2. "> < strong > 5.4 .2.</ strong > </ a >
43804373
43814374 < li > Consume an escaped character, < a href ="#consume-an-escaped-character0 "
43824375 title ="section 4.5.1. "> < strong > 4.5.1.</ strong > </ a >
43834376
43844377 < li > Consume a qualified rule, < a href ="#consume-a-qualified-rule0 "
4385- title ="section 5.5 .3. "> < strong > 5.5 .3.</ strong > </ a >
4378+ title ="section 5.4 .3. "> < strong > 5.4 .3.</ strong > </ a >
43864379
43874380 < li > Consume a simple block, < a href ="#consume-a-simple-block0 "
4388- title ="section 5.5 .7. "> < strong > 5.5 .7.</ strong > </ a >
4381+ title ="section 5.4 .7. "> < strong > 5.4 .7.</ strong > </ a >
43894382
43904383 < li > convert a sci-notation representation into a value, < a
43914384 href ="#convert-a-sci-notation-representation-in0 "
@@ -4395,7 +4388,7 @@ <h2 class=no-num id=index> Index</h2>
43954388 title ="section 4.3. "> < strong > 4.3.</ strong > </ a >
43964389
43974390 < li > current input token, < a href ="#current-input-token "
4398- title ="section 5.3 . "> < strong > 5.3 .</ strong > </ a >
4391+ title ="section 5.2 . "> < strong > 5.2 .</ strong > </ a >
43994392
44004393 < li > Data state, < a href ="#data-state0 "
44014394 title ="section 4.4.1. "> < strong > 4.4.1.</ strong > </ a >
@@ -4415,7 +4408,7 @@ <h2 class=no-num id=index> Index</h2>
44154408 title ="section 4.4.2. "> < strong > 4.4.2.</ strong > </ a >
44164409
44174410 < li > ending token, < a href ="#ending-token "
4418- title ="section 5.5 .7. "> < strong > 5.5 .7.</ strong > </ a >
4411+ title ="section 5.4 .7. "> < strong > 5.4 .7.</ strong > </ a >
44194412
44204413 < li > end of the range, < a href ="#end-of-the-range "
44214414 title ="section 4.5.2. "> < strong > 4.5.2.</ strong > </ a >
@@ -4424,7 +4417,7 @@ <h2 class=no-num id=index> Index</h2>
44244417 title ="section 4.3. "> < strong > 4.3.</ strong > </ a >
44254418
44264419 < li > EOF token, < a href ="#eof-token "
4427- title ="section 5.3 . "> < strong > 5.3 .</ strong > </ a >
4420+ title ="section 5.2 . "> < strong > 5.2 .</ strong > </ a >
44284421
44294422 < li > function, < a href ="#function "
44304423 title ="section 5. "> < strong > 5.</ strong > </ a >
@@ -4473,7 +4466,7 @@ <h2 class=no-num id=index> Index</h2>
44734466 title ="section 4.3. "> < strong > 4.3.</ strong > </ a >
44744467
44754468 < li > next input token, < a href ="#next-input-token "
4476- title ="section 5.3 . "> < strong > 5.3 .</ strong > </ a >
4469+ title ="section 5.2 . "> < strong > 5.2 .</ strong > </ a >
44774470
44784471 < li > non-ASCII character, < a href ="#non-ascii-character "
44794472 title ="section 4.3. "> < strong > 4.3.</ strong > </ a >
@@ -4492,23 +4485,23 @@ <h2 class=no-num id=index> Index</h2>
44924485
44934486 < li > Parse a comma-separated list of component values, < a
44944487 href ="#parse-a-comma-separated-list-of-componen0 "
4495- title ="section 5.4 .6. "> < strong > 5.4 .6.</ strong > </ a >
4488+ title ="section 5.3 .6. "> < strong > 5.3 .6.</ strong > </ a >
44964489
44974490 < li > Parse a component value, < a href ="#parse-a-component-value0 "
4498- title ="section 5.4 .4. "> < strong > 5.4 .4.</ strong > </ a >
4491+ title ="section 5.3 .4. "> < strong > 5.3 .4.</ strong > </ a >
44994492
45004493 < li > Parse a list of component values, < a
45014494 href ="#parse-a-list-of-component-values0 "
4502- title ="section 5.4 .5. "> < strong > 5.4 .5.</ strong > </ a >
4495+ title ="section 5.3 .5. "> < strong > 5.3 .5.</ strong > </ a >
45034496
45044497 < li > Parse a list of declarations, < a href ="#parse-a-list-of-declarations0 "
4505- title ="section 5.4 .3. "> < strong > 5.4 .3.</ strong > </ a >
4498+ title ="section 5.3 .3. "> < strong > 5.3 .3.</ strong > </ a >
45064499
45074500 < li > Parse a rule, < a href ="#parse-a-rule0 "
4508- title ="section 5.4 .2. "> < strong > 5.4 .2.</ strong > </ a >
4501+ title ="section 5.3 .2. "> < strong > 5.3 .2.</ strong > </ a >
45094502
45104503 < li > Parse a stylesheet, < a href ="#parse-a-stylesheet0 "
4511- title ="section 5.4 .1. "> < strong > 5.4 .1.</ strong > </ a >
4504+ title ="section 5.3 .1. "> < strong > 5.3 .1.</ strong > </ a >
45124505
45134506 < li > parse error, < a href ="#parse-errors "
45144507 title ="section 3. "> < strong > 3.</ strong > </ a >
@@ -4529,7 +4522,7 @@ <h2 class=no-num id=index> Index</h2>
45294522
45304523 < li > reconsume the current input token, < a
45314524 href ="#reconsume-the-current-input-token "
4532- title ="section 5.3 . "> < strong > 5.3 .</ strong > </ a >
4525+ title ="section 5.2 . "> < strong > 5.2 .</ strong > </ a >
45334526
45344527 < li > renderer, < a href ="#renderer "
45354528 title ="section 8.2. "> < strong > 8.2.</ strong > </ a >
0 commit comments