Closed Bug 1578850 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18846 - Restore SVGSMILElement::Elapsed()

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18846 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18846
Details from upstream follow.

Fredrik Söderquist <fs@opera.com> wrote:

Restore SVGSMILElement::Elapsed()

When sampling/adding instance times from within the animation engine we
want to use SMILTimeContainer::CurrentDocumentTime() rather than
SMILTimeContainer::Elapsed(). However the latter should still be used
for all event bases and similar. Since most users of
SVGSMILElement::Elapsed() still fall into the "event base" category,
restore it to its original guise and open-code usage of
CurrentDocumentTime() where it's needed.

Bug: 1000290
Change-Id: Ie91ae8d5c9c63d03476ba11921777d064b264066

Reviewed-on: https://chromium-review.googlesource.com/1783153
WPT-Export-Revision: b35c82e189506b444982a94bcaa4698da25fa9d4

Component: web-platform-tests → SVG
Product: Testing → Core
Ran 1 tests and 1 subtests
OK     : 1
PASS   : 1
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c2d510d95035
[wpt PR 18846] - Restore SVGSMILElement::Elapsed(), a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.