Skip to content

Commit e366b30

Browse files
committed
[css3-syntax] Specify that bang-important is ascii-case-insensitive.
--HG-- extra : rebase_source : 0b5d1f801103bc11515f4617730c0b3e73a0057e
1 parent ea26564 commit e366b30

2 files changed

Lines changed: 28 additions & 5 deletions

File tree

css3-syntax/Overview.html

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
<meta content="CSS Syntax Module Level 3 (CSS3 Syntax)" name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2012-11-17 name=dcterms.issued>
14+
<meta content=2012-12-14 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/2012/ED-css3-syntax-20121117/"
17+
<meta content="http://www.w3.org/TR/2012/ED-css3-syntax-20121214/"
1818
name=dcterms.identifier>
1919
<link href="#contents" rel=contents>
2020
<link href="#index" rel=index>
@@ -48,7 +48,7 @@
4848

4949
<h1>CSS Syntax Module Level 3</h1>
5050

51-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 November
51+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 December
5252
2012</h2>
5353

5454
<dl>
@@ -2807,6 +2807,14 @@ <h4 id=definitions0><span class=secno>3.5.1. </span> Definitions</h4>
28072807
href="#declaration-filled"><i>declaration-filled</i></a> at-rules are
28082808
<code class=css>@font-face</code>’ and ‘<code
28092809
class=css>@page</code>’.
2810+
2811+
<dt><dfn id=ascii-case-insensitive>ASCII case-insensitive</dfn>
2812+
2813+
<dd> When two strings are to be matched ASCII case-insensitively,
2814+
temporarily convert both of them to ASCII lower-case form by adding 32
2815+
(0x20) to the value of each codepoint between U+0041 LATIN CAPITAL LETTER
2816+
A (A) and U+005A LATIN CAPITAL LETTER Z (Z), inclusive, and then compare
2817+
them on a codepoint-by-codepoint basis.
28102818
</dl>
28112819

28122820
<h4 id=top-level-mode><span class=secno>3.5.2. </span> <dfn
@@ -3136,7 +3144,9 @@ <h4 id=declaration-important-mode><span class=secno>3.5.9. </span> <dfn
31363144

31373145
<dd> Do nothing. Remain in this mode.
31383146

3139-
<dt>ident token with a value of "important"
3147+
<dt>ident token with a value of "important", matched <a
3148+
href="#ascii-case-insensitive"><i
3149+
title="ASCII case-insensitive">ASCII-case-insensitively</i></a>
31403150

31413151
<dd> If the <a href="#current-declaration"><i>current declaration</i></a>
31423152
is one that can be made important, set the important flag of the <a
@@ -3739,6 +3749,9 @@ <h2 class=no-num id=index> Index</h2>
37393749
<li>After-declaration-name mode, <a href="#after-declaration-name-mode0"
37403750
title="section 3.5.7."><strong>3.5.7.</strong></a>
37413751

3752+
<li>ASCII case-insensitive, <a href="#ascii-case-insensitive"
3753+
title="section 3.5.1."><strong>3.5.1.</strong></a>
3754+
37423755
<li>At-keyword-rest state, <a href="#at-keyword-rest-state0"
37433756
title="section 3.3.11."><strong>3.3.11.</strong></a>
37443757

css3-syntax/Overview.src.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,6 +2267,16 @@ <h4>
22672267
and within that block accepts at-rules and/or declarations,
22682268
is called <i>declaration-filled</i>.
22692269
Examples of <i>declaration-filled</i> at-rules are ''@font-face'' and ''@page''.
2270+
2271+
<dt><dfn>ASCII case-insensitive</dfn>
2272+
<dd>
2273+
When two strings are to be matched ASCII case-insensitively,
2274+
temporarily convert both of them to ASCII lower-case form
2275+
by adding 32 (0x20) to the value of each codepoint between
2276+
U+0041 LATIN CAPITAL LETTER A (A)
2277+
and U+005A LATIN CAPITAL LETTER Z (Z),
2278+
inclusive,
2279+
and then compare them on a codepoint-by-codepoint basis.
22702280
</dl>
22712281

22722282
<h4>
@@ -2593,7 +2603,7 @@ <h4>
25932603
Do nothing.
25942604
Remain in this mode.
25952605

2596-
<dt>ident token with a value of "important"
2606+
<dt>ident token with a value of "important", matched <i title="ASCII case-insensitive">ASCII-case-insensitively</i>
25972607
<dd>
25982608
If the <i>current declaration</i> is one that can be made important,
25992609
set the important flag of the <i>current declaration</i> to true,

0 commit comments

Comments
 (0)