Implement 'discard' element from SVG Animations

NEW
Unassigned

Status

()

Core
SVG
--
enhancement
4 years ago
4 months ago

People

(Reporter: err, Unassigned)

Tracking

(Blocks: 1 bug, {dev-doc-needed})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8492163 [details]
svgt12_discard.svg

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20140918030202

Steps to reproduce:

See this test from Erik Dahlström, Opera Software:
http://xn--dahlstrm-t4a.net/svg/smil/svgt12_discard.svg
(also attached in case the link breaks)


Actual results:

Test fails: after 10 seconds still says "Loading..."


Expected results:

At the end of animation <discard> should remove its parent <g> so that the first element (<text>Load complete</text>) should become visible.

It already works in old Opera (Presto) and current Chrome, so it would be great to see this feature implemented in Firefox in order to start using it in practice.

Spec:
http://www.w3.org/TR/SVG2/struct.html#DiscardElement

Corresponding Chrome bug:
http://code.google.com/p/chromium/issues/detail?id=327339

Test from SVG 1.2 Tiny Test Suite, that works in Opera but doesn't work in Chrome for some reason:
http://www.w3.org/Graphics/SVG/Test/20080912/htmlObjectHarness/struct-discard-207-t.html
Severity: normal → enhancement
The <discard> element was moved to the SVG Animations spec. in the meantime.

Sebastian
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Implement discard tag from SVG 2 → Implement 'discard' element from SVG Animations
Keywords: dev-doc-needed
Blocks: 1328534

Comment 2

8 months ago
Partially implemented in Chromium and marked as fixed, but still incomplete...
You need to log in before you can comment on or make changes to this bug.