Closed Bug 1478213 Opened 6 years ago Closed 6 years ago

Setting `startTime = null` on a play-pending Animation should do a synchronous pause

Categories

(Core :: DOM: Animation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: birtles, Assigned: birtles)

References

Details

Attachments

(3 files)

Priority: -- → P3
As discussed here:

  https://github.com/w3c/csswg-drafts/issues/2691

We have a similar check in SetCurrentTime (with the exception that, according to
the spec, this behavior applies to either play OR pause pending, instead of just
pause-pending) so this patch tries to match the comment and format of that
check.
Assignee: nobody → bbirtles
Status: NEW → ASSIGNED
Comment on attachment 8995068 [details]
Bug 1478213 - Add test that fails if we ignore a seemingly redundant setting of startTime to null; r=hiro

Hiroyuki Ikezoe (:hiro) has approved the revision.

https://phabricator.services.mozilla.com/D2409
Attachment #8995068 - Flags: review+
Comment on attachment 8995069 [details]
Bug 1478213 - Don't ignore a redundant change to setting the animation start time if we are pending; r=hiro

Hiroyuki Ikezoe (:hiro) has approved the revision.

https://phabricator.services.mozilla.com/D2410
Attachment #8995069 - Flags: review+
Comment on attachment 8995070 [details]
Bug 1478213 - Drop the workaround in DevTools for setting an animation's startTime to something non-null before setting it to null; r=daisuke

Daisuke Akatsuka (:daisuke) has approved the revision.

https://phabricator.services.mozilla.com/D2419
Attachment #8995070 - Flags: review+
I discussed with glob and it turns out there is a bug in arc-review where it was failing to set the base revision correctly.

As a result, each of the patches in Phabricator is actually a squashed diff between that patch and the base (central).

Nevertheless, I think the reviews are still valid so I'll just land this on inbound.
Pushed by bbirtles@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/420ef12d7971
Add test that fails if we ignore a seemingly redundant setting of startTime to null; r=hiro
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9fd70739814
Don't ignore a redundant change to setting the animation start time if we are pending; r=hiro
https://hg.mozilla.org/integration/mozilla-inbound/rev/943638903f10
Drop the workaround in DevTools for setting an animation's startTime to something non-null before setting it to null; r=daisuke
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/12195 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: