Skip to content

Commit 52a4c77

Browse files
javifernandezmoz-wptsync-bot
authored andcommitted
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 <[email protected]> Commit-Queue: Javier Fernandez <[email protected]> Cr-Commit-Position: refs/heads/main@{#1541685} -- wpt-commits: 5ded9c243a8273f95a8aacd07b115f952516cbbf wpt-pr: 55877
1 parent 110838f commit 52a4c77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
test_invalid_value("animation-name", 'default, two');
2121
test_invalid_value("animation-name", 'revert, three');
2222
test_invalid_value("animation-name", 'revert-layer, four');
23+
24+
test_invalid_value("animation-name", '""');
2325
</script>
2426
</body>
2527
</html>

0 commit comments

Comments
 (0)