You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p> Several types of tokens are written literally, without quotes:
2593
2593
2594
2594
<p><ul>
2595
-
<li>〈Ident〉s (such as <spanclass=cssdata-autolink=maybe>auto</span>, <spanclass=cssdata-autolink=maybe>disc</span>, etc.)
2596
-
<li>〈at-keyword〉s, which are written as an @ character followed by the token's name, like "@media".
2595
+
<li>〈ident〉s (such as <spanclass=cssdata-autolink=maybe>auto</span>, <spanclass=cssdata-autolink=maybe>disc</span>, etc), which are simply written as their value.
2596
+
<li>〈at-keyword〉s, which are written as an @ character followed by the token's value, like "@media".
2597
2597
<li>〈function〉s, which are written as the function name followed by a ( character, like "translate(".
2598
2598
<li>The 〈colon〉 (written as <code>:</code>), 〈comma〉 (written as <code>,</code>), 〈semicolon〉 (written as <code>;</code>), 〈(〉, 〈)〉, 〈{〉, and 〈}〉s.
2599
2599
</ul>
2600
2600
2601
+
<p> Tokens match if their value is an <ahref=#ascii-case-insensitive>ASCII case-insensitive</a> match
2602
+
for the value defined in the grammar.
2603
+
2604
+
<pclass=note>
2605
+
Although it is possible, with <ahref=#escaping0>escaping</a>,
2606
+
to construct an 〈ident〉 whose value starts with <code>@</code> or ends with <code>(</code>,
2607
+
such a tokens is not an 〈at-keyword〉 or a 〈function〉
2608
+
and does not match corresponding grammar definitions.
2609
+
2601
2610
<p> 〈delim〉s are written with their value enclosed in single quotes.
2602
2611
For example, a 〈delim〉 containing the "+" character is written as <code>'+'</code>.
2603
2612
Similarly, the 〈[〉 and 〈]〉s must be written in single quotes,
0 commit comments