[wpt-sync] Sync PR 19446 - Fix SMIL interval restarting
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: wpt-sync, 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•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
Comment 7•6 years ago
|
||
| bugherder | ||
Description
•