Skip to content

Commit d199e18

Browse files
committed
Remove a bunch of parse errors caused by cdo/cdc/)}]/bad-url/bad-string, because they're interoperably valid everywhere but WebKit. (Detectable by using media queries - they all just create an invalid query which is replaced by 'not all'.)
--HG-- extra : rebase_source : 8c6e7492fe18dade207d93fd3e7d20f2fc739421
1 parent 7bfcd28 commit d199e18

2 files changed

Lines changed: 0 additions & 96 deletions

File tree

css3-syntax/Overview.html

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,19 +2073,6 @@ <h4 id=top-level-mode-><span class=secno>3.5.3. </span> <dfn
20732073
a block</i></a> with the <i>current input token</i>. Ignore the return
20742074
value. Remain in this state.
20752075

2076-
<dt><span class=temp>}</span> token
2077-
2078-
<dt><span class=temp>]</span> token
2079-
2080-
<dt><span class=temp>)</span> token
2081-
2082-
<dt>bad-string token
2083-
2084-
<dt>semicolon token
2085-
2086-
<dd> This is a <i>parse error</i>. Switch to the <a
2087-
href="#next-block-error-mode0"><i>next-block error mode</i></a>.
2088-
20892076
<dt>anything else
20902077

20912078
<dd> <i>Create a style rule</i> and push it onto the <a
@@ -2100,27 +2087,6 @@ <h4 id=at-rule-mode><span class=secno>3.5.4. </span> <dfn
21002087
<p> Consume the <a href="#next-input-token"><i>next input token</i></a>.
21012088

21022089
<dl>
2103-
<dt>cdo token
2104-
2105-
<dt>cdc token
2106-
2107-
<dt>bad-string token
2108-
2109-
<dt>bad-url token
2110-
2111-
<dt><span class=temp>}</span> token
2112-
2113-
<dt><span class=temp>]</span> token
2114-
2115-
<dt><span class=temp>)</span> token
2116-
2117-
<dt>at-keyword token
2118-
2119-
<dd> This is a <i>parse error</i>. Pop the <a
2120-
href="#current-rule"><i>current rule</i></a> from the <a
2121-
href="#stack-of-open-rules"><i>stack of open rules</i></a>. Switch to the
2122-
<i>block-or-statement error mode</i>.
2123-
21242090
<dt>semicolon token
21252091

21262092
<dd> Pop the <a href="#current-rule"><i>current rule</i></a> from the <a
@@ -2180,10 +2146,6 @@ <h4 id=at-rule-block-mode><span class=secno>3.5.5. </span> <dfn
21802146

21812147
<dt>bad-url token
21822148

2183-
<dt><span class=temp>]</span> token
2184-
2185-
<dt><span class=temp>)</span> token
2186-
21872149
<dd> This is a <i>parse error</i>. Switch to the <a
21882150
href="#next-block-or-statement-error-mode0"><i>next-block-or-statement
21892151
error mode</i></a>.
@@ -2218,27 +2180,6 @@ <h4 id=style-rule-mode><span class=secno>3.5.6. </span> <dfn
22182180
<p> Consume the <a href="#next-input-token"><i>next input token</i></a>.
22192181

22202182
<dl>
2221-
<dt>cdo token
2222-
2223-
<dt>cdc token
2224-
2225-
<dt>at-keyword token
2226-
2227-
<dt><span class=temp>}</span> token
2228-
2229-
<dt><span class=temp>]</span> token
2230-
2231-
<dt><span class=temp>)</span> token
2232-
2233-
<dt>bad-string token
2234-
2235-
<dt>bad-url token
2236-
2237-
<dd> This is a <i>parse error</i>. Pop the <a
2238-
href="#current-rule"><i>current rule</i></a> from the <a
2239-
href="#stack-of-open-rules"><i>stack of open rules</i></a>. Switch to the
2240-
<a href="#next-block-error-mode0"><i>next-block error mode</i></a>.
2241-
22422183
<dt><span class=temp>{</span> token
22432184

22442185
<dd> Switch to the <a href="#declaration-mode0"><i>declaration

css3-syntax/Overview.src.html

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,15 +2069,6 @@ <h4>
20692069
Ignore the return value.
20702070
Remain in this state.
20712071

2072-
<dt><span class='temp'>}</span> token
2073-
<dt><span class='temp'>]</span> token
2074-
<dt><span class='temp'>)</span> token
2075-
<dt>bad-string token
2076-
<dt>semicolon token
2077-
<dd>
2078-
This is a <i>parse error</i>.
2079-
Switch to the <i>next-block error mode</i>.
2080-
20812072
<dt>anything else
20822073
<dd>
20832074
<i>Create a style rule</i>
@@ -2093,19 +2084,6 @@ <h4>
20932084
Consume the <i>next input token</i>.
20942085

20952086
<dl>
2096-
<dt>cdo token
2097-
<dt>cdc token
2098-
<dt>bad-string token
2099-
<dt>bad-url token
2100-
<dt><span class='temp'>}</span> token
2101-
<dt><span class='temp'>]</span> token
2102-
<dt><span class='temp'>)</span> token
2103-
<dt>at-keyword token
2104-
<dd>
2105-
This is a <i>parse error</i>.
2106-
Pop the <i>current rule</i> from the <i>stack of open rules</i>.
2107-
Switch to the <i>block-or-statement error mode</i>.
2108-
21092087
<dt>semicolon token
21102088
<dd>
21112089
Pop the <i>current rule</i> from the <i>stack of open rules</i>
@@ -2157,8 +2135,6 @@ <h4>
21572135
<dt>cdc token
21582136
<dt>bad-string token
21592137
<dt>bad-url token
2160-
<dt><span class='temp'>]</span> token
2161-
<dt><span class='temp'>)</span> token
21622138
<dd>
21632139
This is a <i>parse error</i>.
21642140
Switch to the <i>next-block-or-statement error mode</i>.
@@ -2195,19 +2171,6 @@ <h4>
21952171
Consume the <i>next input token</i>.
21962172

21972173
<dl>
2198-
<dt>cdo token
2199-
<dt>cdc token
2200-
<dt>at-keyword token
2201-
<dt><span class='temp'>}</span> token
2202-
<dt><span class='temp'>]</span> token
2203-
<dt><span class='temp'>)</span> token
2204-
<dt>bad-string token
2205-
<dt>bad-url token
2206-
<dd>
2207-
This is a <i>parse error</i>.
2208-
Pop the <i>current rule</i> from the <i>stack of open rules</i>.
2209-
Switch to the <i>next-block error mode</i>.
2210-
22112174
<dt><span class='temp'>{</span> token
22122175
<dd>
22132176
Switch to the <i>declaration mode</i>.

0 commit comments

Comments
 (0)