[animation-trigger] Enforce single trigger per animation #57166
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Although the Blink implementation supports multiple triggers per
animation, this constraint will likely allow flexibility in future
modifications of the animation-trigger property.
This constraint is also in line with an earlier CSSWG resolution (even
though subsequent CSSWG conversations addressed the original
motivations for the constraint (but didn't issue a formal resolution)).
[1] w3c/csswg-drafts#12399 (comment)
Bug: 474398437, 390314945
Change-Id: Ic4973e14c463588692a95128ab9b1957c3021c11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7416194
Commit-Queue: David Awogbemila <awogbemila@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: David Awogbemila <awogbemila@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1569328}