Skip to content

Conversation

@birtles
Copy link
Contributor

@birtles birtles commented Mar 10, 2025

Fixes #5394.

@birtles
Copy link
Contributor Author

birtles commented Mar 10, 2025

Leaving this as a draft until we've determined that this change is Web-compatible.

@birtles
Copy link
Contributor Author

birtles commented Jun 9, 2025

Putting this up for review since the use counter data we've collected in Firefox suggests this change is safe to make.

There are WPT for this here and once this PR is merged, we'll rename commitStyles.tentative.html to commitStyles.html.

@birtles
Copy link
Contributor Author

birtles commented Jun 19, 2025

@flackr @graouts Review ping?

Copy link
Contributor

@flackr flackr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thanks! Sorry I didn't see this earlier. The examples are so much cleaner, I'm glad it looked reasonably safe :-).

@birtles
Copy link
Contributor Author

birtles commented Jun 20, 2025

Thank you!

@birtles birtles merged commit aa2e02d into main Jun 20, 2025
1 check passed
philwo pushed a commit to philwo/chromium that referenced this pull request Oct 30, 2025
This patch aligns commitStyles() behavior with a recent spec update. The
WPTs have been already updated and that's causing new failures in
Chromium. This patch fixes our implementation to pass these tests and to
align with the spec.

Spec: w3c/csswg-drafts#11881
Bug: 40715046
Change-Id: I57a24bb29bd350ef66778c1259a2bde3fa19c769
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6904038
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1538000}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[web-animations] Could commitStyles always write the end state of the animation?

3 participants