1111
1212 < meta content ="CSS Syntax Module Level 3 (CSS3 Syntax) " name =dcterms.title >
1313 < meta content =text name =dcterms.type >
14- < meta content =2013-02-05 name =dcterms.issued >
14+ < meta content =2013-02-06 name =dcterms.issued >
1515 < meta content ="http://dev.w3.org/csswg/css3-syntax/ " name =dcterms.creator >
1616 < meta content =W3C name =dcterms.publisher >
17- < meta content ="http://www.w3.org/TR/2013/ED-css3-syntax-20130205 / "
17+ < meta content ="http://www.w3.org/TR/2013/ED-css3-syntax-20130206 / "
1818 name =dcterms.identifier >
1919 < link href ="#contents " rel =contents >
2020 < link href ="#index " rel =index >
3131
3232 < h1 > CSS Syntax Module Level 3</ h1 >
3333
34- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 5 February
34+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 6 February
3535 2013</ h2 >
3636
3737 < dl >
@@ -659,6 +659,7 @@ <h2 id=tokenization><span class=secno>4. </span> Tokenization</h2>
659659 < p > The output of the tokenization step is a series of zero or more of the
660660 following tokens: ident, function, at-keyword, hash, string, bad-string,
661661 url, bad-url, delim, number, percentage, dimension, unicode-range,
662+ include-match, dash-match, prefix-match, suffix-match, substring-match,
662663 whitespace, cdo, cdc, colon, semicolon, [, ], (, ), {, }.
663664
664665 < p > ident, function, at-keyword, hash, string, and url tokens have a value
@@ -1374,6 +1375,15 @@ <h4 id=data-state><span class=secno>4.4.1. </span> <dfn id=data-state0>Data
13741375
13751376 < dd > Switch to the < a href ="#hash-state0 "> < i > hash state</ i > </ a > .
13761377
1378+ < dt > U+0024 DOLLAR SIGN ($)
1379+
1380+ < dd > If the < a href ="#next-input-character "> < i > next input
1381+ character</ i > </ a > is U+003D EQUALS SIGN (=), consume it and emit a
1382+ suffix-match token. Remain in this state.
1383+ < p > Otherwise, emit a delim token with its value set to the < a
1384+ href ="#current-input-character "> < i > current input character</ i > </ a > .
1385+ Remain in this state.
1386+
13771387 < dt > U+0027 APOSTROPHE (')
13781388
13791389 < dd > Switch to the < a
@@ -1387,6 +1397,15 @@ <h4 id=data-state><span class=secno>4.4.1. </span> <dfn id=data-state0>Data
13871397
13881398 < dd > Emit a ) token. Remain in this state.
13891399
1400+ < dt > U+002A ASTERISK (*)
1401+
1402+ < dd > If the < a href ="#next-input-character "> < i > next input
1403+ character</ i > </ a > is U+003D EQUALS SIGN (=), consume it and emit a
1404+ substring-match token. Remain in this state.
1405+ < p > Otherwise, emit a delim token with its value set to the < a
1406+ href ="#current-input-character "> < i > current input character</ i > </ a > .
1407+ Remain in this state.
1408+
13901409 < dt > U+002B PLUS SIGN (+)
13911410
13921411 < dd > If the < a href ="#next-input-character "> < i > next input
@@ -1474,6 +1493,15 @@ <h4 id=data-state><span class=secno>4.4.1. </span> <dfn id=data-state0>Data
14741493
14751494 < dd > Emit a ] token. Remain in this state.
14761495
1496+ < dt > U+005E CIRCUMFLEX ACCENT (^)
1497+
1498+ < dd > If the < a href ="#next-input-character "> < i > next input
1499+ character</ i > </ a > is U+003D EQUALS SIGN (=), consume it and emit a
1500+ prefix-match token. Remain in this state.
1501+ < p > Otherwise, emit a delim token with its value set to the < a
1502+ href ="#current-input-character "> < i > current input character</ i > </ a > .
1503+ Remain in this state.
1504+
14771505 < dt > U+007B LEFT CURLY BRACKET ({)
14781506
14791507 < dd > Emit a { token. Remain in this state.
@@ -1509,6 +1537,24 @@ <h4 id=data-state><span class=secno>4.4.1. </span> <dfn id=data-state0>Data
15091537 Reconsume the < a href ="#current-input-character "> < i > current input
15101538 character</ i > </ a > .
15111539
1540+ < dt > U+007C VERTICAL LINE (|)
1541+
1542+ < dd > If the < a href ="#next-input-character "> < i > next input
1543+ character</ i > </ a > is U+003D EQUALS SIGN (=), consume it and emit a
1544+ dash-match token. Remain in this state.
1545+ < p > Otherwise, emit a delim token with its value set to the < a
1546+ href ="#current-input-character "> < i > current input character</ i > </ a > .
1547+ Remain in this state.
1548+
1549+ < dt > U+007E TILDE (~)
1550+
1551+ < dd > If the < a href ="#next-input-character "> < i > next input
1552+ character</ i > </ a > is U+003D EQUALS SIGN (=), consume it and emit an
1553+ includes-match token. Remain in this state.
1554+ < p > Otherwise, emit a delim token with its value set to the < a
1555+ href ="#current-input-character "> < i > current input character</ i > </ a > .
1556+ Remain in this state.
1557+
15121558 < dt > EOF
15131559
15141560 < dd > Emit an end-of-file token.
@@ -2737,7 +2783,8 @@ <h2 id=parsing><span class=secno>5. </span> Parsing</h2>
27372783
27382784 < dd > The tokens that can appear in the tree are: ident, hash, string, url,
27392785 delim, number, percentage, dimension, unicode-range, whitespace, colon,
2740- semicolon, at-keyword,
2786+ semicolon, at-keyword, include-match, dash-match, prefix-match,
2787+ suffix-match, and substring-match.
27412788 < p class =note > This means that the following tokens emitted by the
27422789 tokenizer stage will < strong > not</ strong > appear in the stylesheet
27432790 object: function, bad-string, bad-url, cdo, cdc, [, ], (, ), {, and }.
0 commit comments