Skip to content

Commit 78db943

Browse files
committed
Remove the lingering reference to the error flag in 'consume a block'.
1 parent 2101d99 commit 78db943

2 files changed

Lines changed: 25 additions & 29 deletions

File tree

css3-syntax/Overview.html

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
<!--
20252027
PPPPPPPPPPPPPPPPP AAA RRRRRRRRRRRRRRRRR SSSSSSSSSSSSSSS EEEEEEEEEEEEEEEEEEEEEERRRRRRRRRRRRRRRRR
20262028
P::::::::::::::::P A:::A R::::::::::::::::R SS:::::::::::::::SE::::::::::::::::::::ER::::::::::::::::R
20272029
P::::::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

css3-syntax/Overview.src.html

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ <h3>
19781978

19791979
<p>
19801980
Note that the point of this spec is to match reality;
1981-
changes from CSS2.1's tokenizer are nearly always because the tokeniz specified something that doesn't match actual browser behavior,
1981+
changes from CSS2.1's tokenizer are nearly always because the tokenizer specified something that doesn't match actual browser behavior,
19821982
or left something unspecified.
19831983
If some detail doesn't match browsers,
19841984
please let me know
@@ -2001,15 +2001,17 @@ <h3>
20012001
Only WebKit exhibits this behavior,
20022002
but it doesn't appear that we've gotten any compat bugs from it.
20032003

2004+
<li>
2005+
The number, percentage, and dimension tokens have been changed
2006+
to include the preceding +/- sign as part of their value
2007+
(rather than as a separate DELIM token that needs to be manually handled every time the token is mentioned in other specs).
2008+
The only consequence of this is that comments can no longer be inserted between the sign and the number.
2009+
2010+
<li>
2011+
Several flags have been added for SVG-compatible tokenizing,
2012+
so that a single state machine can be used for both "vanilla" and SVG CSS parsing.
2013+
20042014
</ol>
2005-
<!--
2006-
>  * a string ending with an EOF following backslash is now a STRING
2007-
>    instead of a BAD_STRING.
2008-
>  * BAD_STRING now contains the trailing newline character that makes
2009-
>    it a BAD_STRING.
2010-
>  * a new line following a backslash changed from a DILIM S to just a
2011-
>    DEMIM.
2012-
-->
20132015

20142016

20152017
<!--
@@ -2517,9 +2519,6 @@ <h4>
25172519
The <dfn>ending token</dfn> is the mirror variant of the token this algorithm was called with.
25182520
(E.g. if it was called with [, the <i>ending token</i> is ].)
25192521

2520-
<p>
2521-
The <dfn>error flag</dfn> is initially false.
2522-
25232522
<p>
25242523
Create a brace block, bracket block, or paren block as the <dfn>current block</dfn>,
25252524
whichever corresponds to the token this algorithm was called with.

0 commit comments

Comments
 (0)