[web-animations] commitStyles always writes the end state of the animation
Categories
(Core :: DOM: Animation, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: canalun, Assigned: canalun)
References
()
Details
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Steps to reproduce:
change the default behavior of commitStyles based on the discussion; https://github.com/w3c/csswg-drafts/issues/5394
| Assignee | ||
Comment 1•9 months ago
|
||
Optionally, a longer description of the change.
Updated•9 months ago
|
Updated•9 months ago
|
Comment 2•9 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::CSS Transitions and Animations' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•9 months ago
|
| Assignee | ||
Comment 3•9 months ago
|
||
Re-order the existing tests into a logical order.
ref: https://phabricator.services.mozilla.com/D237510
| Assignee | ||
Comment 4•9 months ago
|
||
Re-order the existing tests into a logical order.
ref: https://phabricator.services.mozilla.com/D237510
| Assignee | ||
Comment 5•9 months ago
|
||
Add new cases for changing the default bahavior of commitStyles to
endpoint-inclusive. These cases are now expected to fail because the
spec change is under discussion yet.
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 6•9 months ago
|
||
Hi canalun, thanks I think there's just one last nit to address. Have you pushed these patches to try server yet?
When you are ready, can you push to try and run the WPT tests, mochitests, and crashtests on Linux? Hiro can probably give you a better idea of which jobs to choose than I can.
| Assignee | ||
Comment 7•9 months ago
|
||
ok I will ask Hiro, thanks :)
Now, one of the cases in the second patch still fails...! It's the one we decided to add at the end, "Commits the intermediate value of an animation up to the middle of the stack".
I will look into it and so need a bit more time.
| Assignee | ||
Comment 8•9 months ago
|
||
and of course I'll fix the last nit, thanks.
Comment 9•8 months ago
|
||
I just started working on the spec PR for this and I realized we also need to take care of the case when the animation is playing backwards. We will need to add tests for that case too.
Comment 10•8 months ago
|
||
Comment 12•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/22c9942e6d31
https://hg.mozilla.org/mozilla-central/rev/8a5bf1a96c03
https://hg.mozilla.org/mozilla-central/rev/28d832f98f08
Updated•7 months ago
|
Description
•