requiredExtensions

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨April 2020⁩.

The requiredExtensions SVG conditional processing attribute is a list of space-separated URL values each referencing a language extension. Language extensions are extended capabilities that go beyond those defined by standard browser specifications.

The value is a space-separated list of URL references identifying the required extensions. If all of the named extensions in the list are supported by the user agent, the element is rendered as usual. If attribute is present but the value is an empty string, or if any of the extensions are not supported by the browser, the browser will skip the element, along with all its descendants, not rendering it.

You can use this attribute with the following SVG elements:

Usage notes

Value <list-of-IRIs>
Default value (none)
Animatable No

Specifications

This feature does not appear to be defined in any specification.

Browser compatibility

See also