Closed Bug 1816915 Opened 3 years ago Closed 3 years ago

Animation handling on bind / unbind is rather suspect.

Categories

(Core :: CSS Transitions and Animations, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: emilio, Assigned: emilio)

References

Details

(Whiteboard: [sp3])

Attachments

(2 files)

In bug 1807003 I'm adding some comments for broken things.

EffectSet::GetEffectSet seems rather redundant, use just EffectSet::Get
and tweak naming of similar APIs.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Remove code on bind/unbind that requested a restyle on an unstyled
element, and that canceled that on an unbound element.

Instead, deal with detached nodes in EffectCompositor.

Tweak test restyles since we now expect one restyle as a result of the
initial composing of the animation that before happened eagerly.

Drive-by remove an unused test function in wpt (animationStartsRightNow
is not defined there anyways).

In practice, this makes it consistent with how we handle bind on
elements in shadow trees.

Depends on D169931

What's the

Keywords: leave-open
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca6d14cd94c8 Clean up EffectSet APIs. r=firefox-animation-reviewers,boris
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a0b7a696e466 Tweak how we handle animation restyles on bind/unbind. r=hiro
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38614 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Upstream PR merged by moz-wptsync-bot
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: