Open Bug 1933281 Opened 1 year ago Updated 8 months ago

Update the algorithm to sort animation cancel event

Categories

(Core :: CSS Transitions and Animations, defect)

defect

Tracking

()

ASSIGNED

People

(Reporter: boris, Assigned: boris, NeedInfo)

References

()

Details

Attachments

(2 files)

Per the discussion in Bug 1923208 and the spec issue (https://github.com/w3c/csswg-drafts/issues/11064), Brian updated the spec (https://github.com/w3c/csswg-drafts/pull/11176), so now we follow the new rules to sort animation events (https://drafts.csswg.org/css-animations-2/#animation-composite-order):

When determining the composite order in order to sort animation events where either or both of the events is an animationcancel event, treat the CSS Animation(s) for which the animationcancel event was generated as having an owning element corresponding to the owning element in use at the moment when the CSS Animation was cancelled. Furthermore, use the position of the animation in the animation-name property in effect at the time when the CSS Animation was cancelled sorting such that positions of cancelled animations sort before positions of animations that have not been cancelled.

Just like what we do for CSSTransition, we use the similar way to handle
CSSAnimation with the same schedule time.

Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/495c6765094e Add more wpt for events sorting. r=hiro
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/49434 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot

The leave-open keyword is there and there is no activity for 6 months.
:boris, maybe it's time to close this bug?
For more information, please visit BugBot documentation.

Flags: needinfo?(boris.chiou)

No need this keyword, and I have to try to push the 2nd patch again.

Keywords: leave-open
Flags: needinfo?(boris.chiou)
Flags: needinfo?(boris.chiou)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: