[wpt-sync] Sync PR 19446 - Fix SMIL interval restarting
Categories
(Core :: SVG, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 19446 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19446
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Fix SMIL interval restarting
When an interval restarts we won't necessarily get a new interval, but
just adjust the current interval (which could then potentially end).
Change CheckAndUpdateInterval(...) to reflect this, and narrow the
restart criteria in UpdateActiveState(...).
UpdateActiveState(...) was also only checking for
"inactive" -> "active/frozen" transitions to 'begin', but we need to
check for transitions from "frozen" as well.
Also re-order the check for 'end' so that it is before the one 'begin'.
This will mean that events should get dispatched like:'begin', 'end', 'begin' and 'end'
when we encounter a restart (like in the testcase),
rather than as previously:'begin', 'begin', 'end' and 'end'.
Bug: 998526
Change-Id: I56b2391fdcc22f3a22332d6eeb6aa469225497f6Reviewed-on: https://chromium-review.googlesource.com/1821922
WPT-Export-Revision: 5f04e4d71f4128b2481581828a6f5090c4232d06
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=4b4d8a00c6a5e8e8681052f1e0389ae6dad245e0
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=dc4746e6dae9142332284f74e27cbb79ebb93e11
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b43626e16616dcd0d134caa8ff5ca8484a70d807
Assignee | ||
Comment 4•5 years ago
|
||
Ran 1 tests and 1 subtests OK : 1 PASS : 1
Assignee | ||
Comment 5•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=8208f94c197e01c9dc6e176e394f386ca094fcc1
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f8374f10070c [wpt PR 19446] - Fix SMIL interval restarting, a=testonly
Comment 7•5 years ago
|
||
bugherder |
Description
•