Open Bug 1069931 Opened 10 years ago Updated 1 year ago

Implement 'discard' element from SVG Animations

Categories

(Core :: SVG, enhancement)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: err, Assigned: longsonr)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed)

Attachments

(3 files)

Attached image 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
Blocks: svg2
Partially implemented in Chromium and marked as fixed, but still incomplete...
Severity: normal → S3
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Attached patch parser.txtSplinter Review
Attachment #9325445 - Flags: review?(hsivonen)
Comment on attachment 9325445 [details] [diff] [review]
parser.txt

Review of attachment 9325445 [details] [diff] [review]:
-----------------------------------------------------------------

r+ Thanks.
Attachment #9325445 - Flags: review?(hsivonen) → review+
Attachment #9325443 - Attachment description: Bug 1069931 - Implement the discard element from SVG Animations r=emilio,hsivonen → Bug 1069931 - Implement the discard element from SVG Animations r=dholbert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: