Skip to content

Commit 5147190

Browse files
authored
Change error code for invalid KeyfameEffect pseudo-selector to SyntaxError (w3c#4829)
1 parent b8dcf83 commit 5147190

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web-animations-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4846,7 +4846,7 @@ interface KeyframeEffect : AnimationEffect {
48464846

48474847
* If the provided value is not `null` or a syntactically valid
48484848
<<pseudo-element-selector>> the user agent must [=throw=]
4849-
a {{DOMException}} with error name {{TypeError}} and leave the
4849+
a {{DOMException}} with error name {{SyntaxError}} and leave the
48504850
[=target pseudo-selector=] of this [=animation effect=] unchanged.
48514851

48524852
* If one of the legacy Selectors Level 2 single-colon selectors

0 commit comments

Comments
 (0)