Bug 1771243 [wpt PR 34212] - Drop animation-* properties in @keyframes at parse time...
commit94ea898d5ef5944a8762a5c595bceefb45af8b1f
authorXiaocheng Hu <xiaochengh@chromium.org>
Tue, 31 May 2022 04:23:59 +0000 (31 04:23 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 9 Jun 2022 08:26:56 +0000 (9 08:26 +0000)
tree418f711f486bfa84fad5a60327deb14d660d0e72
parentb51c49f237408a69e2e85db6cb19b3b3d1247d12
Bug 1771243 [wpt PR 34212] - Drop animation-* properties in @keyframes at parse time, a=testonly

Automatic update from web-platform-tests
Drop animation-* properties in @keyframes at parse time

... since they (except animation-timing-function) aren't allowed there:

https://drafts.csswg.org/css-animations/#typedef-keyframe-block

This patch is also preparation for implementing the @position-fallback
rule, where only certain properties are allowed:

https://chromium-review.googlesource.com/c/chromium/src/+/3665742

Fixed: 1329311
Change-Id: If6799076f6447ddfe21c10d4bf00b5519536e9ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3669740
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1008176}

--

wpt-commits: dbea7ddb25a7030d6cb8bbcbf279740bf73e639e
wpt-pr: 34212
testing/web-platform/tests/css/css-animations/parsing/keyframes-allowed-properties.html [new file with mode: 0644]