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

Categories Animation element Any number of the following elements, in any order:Descriptive elements

## Specifications

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

## Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes ? No No Yes ?
begin ? ? ? ? ? ?
href ? ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? Yes ? No ? ? ?
begin ? ? ? ? ? ? ?
href ? ? ? ? ? ? ?

Tags: