File tree 1 file changed +2
-2
lines changed
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.
148
148
149
149
1. Attempt to parse |property| as an <<ident>> .
150
150
If this fails,
151
- [=throw=] a {{SyntaxError }} and exit this algorithm.
151
+ [=throw=] a {{TypeError }} and exit this algorithm.
152
152
Otherwise, let |property| be the parsed result.
153
153
If |property| does not start with two dashes (U+002D HYPHEN),
154
154
let |property| be |property| [=ASCII lowercased=] .
@@ -158,7 +158,7 @@ and parseMultiple set to true.
158
158
159
159
3. Attempt to <a lt="parse something according to a CSS grammar">parse</a> |cssText| according to |property|’s grammar.
160
160
If this fails,
161
- [=throw=] a {{SyntaxError }} and exit this algorithm.
161
+ [=throw=] a {{TypeError }} and exit this algorithm.
162
162
Otherwise,
163
163
let |value| be the parsed result.
164
164
You can’t perform that action at this time.
0 commit comments