Skip to content

Commit f407048

Browse files
authored
Merge pull request w3c#533 from nainar/issue_432
Setting/modifiying CSSUnitValue.unit should be consistent on Error thrown
2 parents b49bec2 + f032ab4 commit f407048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-typed-om/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ are represented as {{CSSUnitValue}}s.
14521452
perform the following steps:
14531453

14541454
1. If [=creating a type=] from |unit| returns failure,
1455-
[=throw=] a {{SyntaxError}}
1455+
[=throw=] a {{TypeError}}
14561456
and abort this algorithm.
14571457

14581458
2. Return a new {{CSSUnitValue}}

0 commit comments

Comments
 (0)