File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ and parseMultiple set to true.
148148
149149 1. Attempt to parse |property| as an <<ident>> .
150150 If this fails,
151- [=throw=] a {{SyntaxError }} and exit this algorithm.
151+ [=throw=] a {{TypeError }} and exit this algorithm.
152152 Otherwise, let |property| be the parsed result.
153153 If |property| does not start with two dashes (U+002D HYPHEN),
154154 let |property| be |property| [=ASCII lowercased=] .
@@ -158,7 +158,7 @@ and parseMultiple set to true.
158158
159159 3. Attempt to <a lt="parse something according to a CSS grammar">parse</a> |cssText| according to |property|’s grammar.
160160 If this fails,
161- [=throw=] a {{SyntaxError }} and exit this algorithm.
161+ [=throw=] a {{TypeError }} and exit this algorithm.
162162 Otherwise,
163163 let |value| be the parsed result.
164164
You can’t perform that action at this time.
0 commit comments