Skip to content

Commit 8398f6f

Browse files
committed
[cssom] Don't check for @charset in insertRule now that css-syntax does not produce it. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=27422
1 parent 857df4c commit 8398f6f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

cssom/Overview.bs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,11 +1563,11 @@ must be run:
15631563
empty string terminate these steps.
15641564

15651565
<li>Let <var>input URL</var> be the value specified.
1566-
1566+
15671567
Issue: Be more specific
15681568

15691569
<li>Let <var>base URL</var> be the document's <a data-anolis-spec=html>document base URL</a>.
1570-
1570+
15711571
Issue: Is there a document at this point?
15721572

15731573
<li>Let <var>referrer</var> be the document's <a lt=concept-document-url>address</a>.
@@ -1581,7 +1581,7 @@ must be run:
15811581

15821582
<li>Let <var>response</var> be the result of <a lt="fetch a CSS style sheet">fetching a CSS style sheet</a> with parsed URL <var>parsed URL</var>,
15831583
referrer <var>referrer</var> and document being the document.
1584-
1584+
15851585
Issue: What if the HTML parser hasn't decided on quirks/non-quirks yet?
15861586

15871587
<li>
@@ -1726,8 +1726,6 @@ To <dfn>insert a CSS rule</dfn> <var>rule</var> in a CSS rule list <var>list</va
17261726
on argument <var>rule</var>.
17271727
<li>If <var>new rule</var> is a syntax error, <a>throw</a>
17281728
a {{SyntaxError}} exception.
1729-
<li>If <var>new rule</var> is an <code>@charset</code> at-rule, <a>throw</a> a
1730-
{{SyntaxError}} exception.
17311729
<li>Set <var>length</var> to the number of items in <var>list</var>.
17321730
<li>If <var>index</var> is greater than <var>length</var>, then <a>throw</a>
17331731
an {{IndexSizeError}} exception.

0 commit comments

Comments
 (0)