@@ -1994,10 +1994,10 @@ <h3 id=changes-from-css-2.1-tokenizer><span class=secno>3.5. </span>
19941994 be unintentional.
19951995
19961996 < p > Note that the point of this spec is to match reality; changes from
1997- CSS2.1‘< code class =css > s tokenizer are nearly always because the tokeniz
1998- specified something that doesn</ code > ’t match actual browser behavior,
1999- or left something unspecified. If some detail doesn't match browsers,
2000- please let me know as it's almost certainly unintentional.
1997+ CSS2.1‘< code class =css > s tokenizer are nearly always because the
1998+ tokenizer specified something that doesn</ code > ’t match actual browser
1999+ behavior, or left something unspecified. If some detail doesn't match
2000+ browsers, please let me know as it's almost certainly unintentional.
20012001
20022002 < ol >
20032003 < li > The DASHMATCH and INCLUDES tokens have been removed. They can instead
@@ -2012,16 +2012,18 @@ <h3 id=changes-from-css-2.1-tokenizer><span class=secno>3.5. </span>
20122012 paying attention to opened blocks and such. Only WebKit exhibits this
20132013 behavior, but it doesn't appear that we've gotten any compat bugs from
20142014 it.
2015+
2016+ < li > The number, percentage, and dimension tokens have been changed to
2017+ include the preceding +/- sign as part of their value (rather than as a
2018+ separate DELIM token that needs to be manually handled every time the
2019+ token is mentioned in other specs). The only consequence of this is that
2020+ comments can no longer be inserted between the sign and the number.
2021+
2022+ < li > Several flags have been added for SVG-compatible tokenizing, so that
2023+ a single state machine can be used for both "vanilla" and SVG CSS
2024+ parsing.
20152025 </ ol >
20162026 <!--
2017- > * a string ending with an EOF following backslash is now a STRING
2018- > instead of a BAD_STRING.
2019- > * BAD_STRING now contains the trailing newline character that makes
2020- > it a BAD_STRING.
2021- > * a new line following a backslash changed from a DILIM S to just a
2022- > DEMIM.
2023- -->
2024- <!--
20252027PPPPPPPPPPPPPPPPP AAA RRRRRRRRRRRRRRRRR SSSSSSSSSSSSSSS EEEEEEEEEEEEEEEEEEEEEERRRRRRRRRRRRRRRRR
20262028P::::::::::::::::P A:::A R::::::::::::::::R SS:::::::::::::::SE::::::::::::::::::::ER::::::::::::::::R
20272029P::::::PPPPPP:::::P A:::::A R::::::RRRRRR:::::R S:::::SSSSSS::::::SE::::::::::::::::::::ER::::::RRRRRR:::::R
@@ -2526,8 +2528,6 @@ <h4 id=consume-a-block><span class=secno>3.6.14. </span> <dfn
25262528 the token this algorithm was called with. (E.g. if it was called with [,
25272529 the < a href ="#ending-token "> < i > ending token</ i > </ a > is ].)
25282530
2529- < p > The < dfn id =error-flag > error flag</ dfn > is initially false.
2530-
25312531 < p > Create a brace block, bracket block, or paren block as the < dfn
25322532 id =current-block > current block</ dfn > , whichever corresponds to the token
25332533 this algorithm was called with.
@@ -2926,9 +2926,6 @@ <h2 class=no-num id=index> Index</h2>
29262926 < li > end of the range, < a href ="#end-of-the-range "
29272927 title ="end of the range "> < strong > 3.4.27.</ strong > </ a >
29282928
2929- < li > error flag, < a href ="#error-flag "
2930- title ="error flag "> < strong > 3.6.14.</ strong > </ a >
2931-
29322929 < li > Hash-rest state, < a href ="#hash-rest-state0 "
29332930 title ="Hash-rest state "> < strong > 3.4.7.</ strong > </ a >
29342931
0 commit comments