Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

<discard>

The <discard> SVG element allows authors to specify the time at which particular elements are to be discarded, thereby reducing the resources required by an SVG user agent. This is particularly useful to help SVG viewers conserve memory while displaying long-running documents.

The <discard> element may occur wherever the <animate> element may.

Usage context

CategoriesAnimation element
Permitted contentAny number of the following elements, in any order:
Descriptive elements
<script>

Attributes

Global attributes

Specific attributes

Specifications

Specification Status Comment
SVG Animations Level 2
The definition of '<discard>' in that specification.
Editor's Draft Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) No support[1] No support (Yes) ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? No support[1] ? ? ?

[1] This feature is not implemented yet. See bug 1069931.

Document Tags and Contributors

 Contributors to this page: Sebastianz
 Last updated by: Sebastianz,