Skip to content

Commit 648a378

Browse files
committed
Bug 1998544 [wpt PR 55877] - Allow <string> in the animation-name CSS property, a=testonly
Automatic update from web-platform-tests Allow <string> in the animation-name CSS property The animation-name property syntax allows both <custom-ident> and <string> values. There were some doubts [1] about the serialization of this property due to potential conflicts between the <string> values and some identifies in the css-wide group. The CSSWG resolution was to serialize this property as custom-ident when possible, and as strings otherwise. This CL aligns Chrome with Firefox and Safari as well as other minor engines like Servo and Ladybird. [1] w3c/csswg-drafts#2435 Bug: 40592875 Change-Id: I4851c8605a514dbe1d47d8898ae7925378bbdb08 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7067893 Reviewed-by: Anders Hartvoll Ruud <andruudchromium.org> Commit-Queue: Javier Fernandez <jfernandezigalia.com> Cr-Commit-Position: refs/heads/main{#1541685} -- wpt-commits: 5ded9c243a8273f95a8aacd07b115f952516cbbf wpt-pr: 55877 UltraBlame original commit: d14cbfc0bff9ae453ba74456c6bd1e6de195ed32
1 parent 0c16ee7 commit 648a378

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

testing/web-platform/tests/css/css-animations/parsing/animation-name-invalid.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,19 @@
270270
'
271271
)
272272
;
273+
test_invalid_value
274+
(
275+
"
276+
animation
277+
-
278+
name
279+
"
280+
'
281+
"
282+
"
283+
'
284+
)
285+
;
273286
<
274287
/
275288
script

0 commit comments

Comments
 (0)