mask property
[This documentation is preliminary and is subject to change.]
Sets or retrieves a value that indicates a Scalable Vector Graphics (SVG) mask.
![]() ![]() |
Syntax
mask:
<funciri>
| none | inherit
Property values
- funciri
-
An Internationalized Resource Identifier (IRI) reference to another graphical object, which is used as the mask.
none-
Default. A value that indicates there is no mask.
inherit-
A value that indicates that the property takes the same computed value as the property for the element's parent.
CSS information
| Applies To | container elements and graphics elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value | none |
Standards information
Remarks
The mask is used to reference a mask element in SVG.
See also
- CSSStyleDeclaration
- currentStyle
- style
- a
- SVGDefsElement
- SVGGElement
- SVGMarkerElement
- SVGPatternElement
- SVGSVGElement
- SVGSwitchElement
- SVGSymbolElement
- SVGCircleElement
- SVGEllipseElement
- SVGImageElement
- SVGLineElement
- SVGPathElement
- SVGPolygonElement
- SVGPolylineElement
- SVGRectElement
- SVGTextElement
- SVGUseElement
- mask
Build date: 2/16/2012

