@@ -160,7 +160,8 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
160160 < li > < a href ="#syntax-description "> < span class =secno > 2. </ span > Description
161161 of CSS's Syntax</ a >
162162
163- < li > < a href ="#parsing "> < span class =secno > 3. </ span > Parsing</ a >
163+ < li > < a href ="#tokenizing-and-parsing-css "> < span class =secno > 3. </ span >
164+ Tokenizing and Parsing CSS</ a >
164165 < ul class =toc >
165166 < li > < a href ="#overview-of-the-parsing-model "> < span class =secno > 3.1.
166167 </ span > Overview of the Parsing Model</ a >
@@ -483,7 +484,8 @@ <h2 id=syntax-description><span class=secno>2. </span> Description of CSS's
483484 special syntaxes of individual < a href ="#at-rules "> < i > at-rules</ i > </ a > can
484485 be found in the specs that define them.
485486
486- < h2 id =parsing > < span class =secno > 3. </ span > Parsing</ h2 >
487+ < h2 id =tokenizing-and-parsing-css > < span class =secno > 3. </ span > Tokenizing
488+ and Parsing CSS</ h2 >
487489
488490 < p > User agents must use the parsing rules described in this section to
489491 generate the CSSOM trees from text/css resources. Together, these rules
@@ -1989,10 +1991,10 @@ <h3 id=changes-from-css-2.1-tokenizer><span class=secno>3.5. </span>
19891991 be unintentional.
19901992
19911993 < p > Note that the point of this spec is to match reality; changes from
1992- CSS2.1‘ < code class = css > s tokenizer are nearly always because the
1993- tokenizer specified something that doesn</ code > ’ t match actual browser
1994- behavior, or left something unspecified. If some detail doesn't match
1995- browsers, please let me know as it's almost certainly unintentional.
1994+ CSS2.1' s tokenizer are nearly always because the tokenizer specified
1995+ something that doesn' t match actual browser behavior, or left something
1996+ unspecified. If some detail doesn't match browsers, please let me know as
1997+ it's almost certainly unintentional.
19961998
19971999 < ol >
19982000 < li > The DASHMATCH and INCLUDES tokens have been removed. They can instead
@@ -2014,9 +2016,10 @@ <h3 id=changes-from-css-2.1-tokenizer><span class=secno>3.5. </span>
20142016 token is mentioned in other specs). The only consequence of this is that
20152017 comments can no longer be inserted between the sign and the number.
20162018
2017- < li > Several flags have been added for SVG-compatible tokenizing, so that
2018- a single state machine can be used for both "vanilla" and SVG CSS
2019- parsing.
2019+ < li > Some flags have been added for SVG-compatible tokenizing, so that a
2020+ single state machine can be used for both "vanilla" and SVG CSS parsing.
2021+
2022+ < li > Scientific notation is supported for numbers, per WG resolution.
20202023 </ ol >
20212024 <!--
20222025PPPPPPPPPPPPPPPPP AAA RRRRRRRRRRRRRRRRR SSSSSSSSSSSSSSS EEEEEEEEEEEEEEEEEEEEEERRRRRRRRRRRRRRRRR
@@ -2823,22 +2826,15 @@ <h3 id=changes-from-css-2.1-core-grammar><span class=secno>3.7. </span>
28232826 IDENT(important) tokens when processing an !important directive at the
28242827 end of a style rule.
28252828
2826- < li > Scientific notation is supported for numbers, per WG resolution.
2827-
2828- < li > The + sign is now part of the number token that it precedes, rather
2829- than always being a separate DELIM(+) token.
2830-
2831- < li > The INCLUDES and DASHMATCH tokens have been dropped. They're not
2832- actually necessary (the Selectors parser can handle them as two DELIM
2833- tokens just as well) and it's confusing to have them show up in the Core
2834- Grammar when the other types of attribute selector options don't.
2835-
28362829 < li > The handling of some miscellanous ‘< code
28372830 class =property > special</ code > ’ tokens (like an unmatched } token)
28382831 showing up in various places in the grammar has been specified with some
28392832 reasonable behavior shown by at least one browser. Previously,
28402833 stylesheets with those tokens in those places just didn't match the
28412834 stylesheet grammar at all, so their handling was totally undefined.
2835+
2836+ < li > Quirks mode parsing differences are now officially recognized in the
2837+ parser.
28422838 </ ol >
28432839 <!--
28442840
0 commit comments