Content type

  • Revision slug: SVG/Content_type
  • Revision title: Content type
  • Revision id: 47282
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment 1379 words added

Revision Content

Angle

<angle>

Angles are specified in one of two ways. When used in the value of a property in a stylesheet, an <angle> is defined as follows:

angle ::= number (~"deg" | ~"grad" | ~"rad")?

where deg indicates degrees, grad indicates grads and rad indicates radians.

For properties defined in CSS2, an angle unit identifier must be provided. For angle values in SVG-specific properties and their corresponding presentation attributes, the angle unit identifier is optional. If not provided, the angle value is assumed to be in degrees. In presentation attributes for all properties, whether defined in SVG1.1 or in CSS2, the angle identifier, if specified, must be in lower case.

When angles are used in an SVG attribute, <angle> is instead defined as follows:

angle ::= number ("deg" | "grad" | "rad")?

The unit identifiers in such <angle> values must be in lower case.

In the SVG DOM, <angle> values are represented using {{ domxref("SVGAngle") }} or {{ domxref("SVGAnimatedAngle objects") }}.

Anything

<anything>

The basic type <anything> is a sequence of zero or more characters. Specifically:

anything ::= Char*

where Char is the production for a character, as defined in XML 1.0 , section 2.2).

Color

<color>

The basic type <color> is a CSS2 compatible specification for a color in the sRGB color space. <color> applies to SVG's use of the {{ SVGAttr("color") }} attribute and is a component of the definitions of attributes {{ SVGAttr("fill") }}, {{ SVGAttr("stroke") }}, {{ SVGAttr("stop-color") }}, {{ SVGAttr("flood-color") }} and {{ SVGAttr("lighting-color") }}, which also offer optional ICC-based color specifications.

SVG supports all of the syntax alternatives for <color> defined in CSS2 syntax and basic data types, and (depend on the implementation) in the future CSS Color Module Level 3.

A <color> is either a keyword or a numerical RGB specification.

In addition to these color keywords, users may specify keywords that correspond to the colors used by objects in the user's environment. The normative definition of these keywords is found in User preferences for colors (CSS2, section 18.2).

The format of an RGB value in hexadecimal notation is a "#" immediately followed by either three or six hexadecimal characters. The three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00. This ensures that white (#ffffff) can be specified with the short notation (#fff) and removes any dependencies on the color depth of the display. The format of an RGB value in the functional notation is an RGB start-function followed by a comma-separated list of three numerical values (either three integer values or three percentage values) followed by ")". An RGB start-function is the case-insensitive string "rgb(", for example "RGB(" or "rGb(". For compatibility, the all-lowercase form "rgb(" is preferred. The integer value 255 corresponds to 100%, and to F or FF in the hexadecimal notation: rgb(255,255,255) = rgb(100%,100%,100%) = #FFF. White space characters are allowed around the numerical values. All RGB colors are specified in the sRGB color space. Using sRGB provides an unambiguous and objectively measurable definition of the color, which can be related to international standards.

color    ::= "#" hexdigit hexdigit hexdigit (hexdigit hexdigit hexdigit)?
             | "rgb("integer, integer, integer")"
             | "rgb("integer "%", integer "%", integer "%)"
             | color-keyword
hexdigit ::= [0-9A-Fa-f]
    

where color-keyword matches (case insensitively) one of the color keywords listed in CSS Color Module Level 3, or one of the system color keywords listed in User preferences for colors (CSS2, section 18.2).

The corresponding SVG DOM interface definitions for <color> are defined the one defined by CSS. SVG's extension to color, including the ability to specify ICC-based colors, are represented using DOM interface {{ domxref("SVGColor") }}.

Coordinate

<coordinate>

A <coordinate> is a length in the user coordinate system that is the given distance from the origin of the user coordinate system along the relevant axis (the x-axis for X coordinates, the y-axis for Y coordinates). Its syntax is the same as that for <length>.

Within the SVG DOM, a <coordinate> is represented as an {{ domxref("SVGLength") }} or an {{ domxref("SVGAnimatedLength") }}.

Frequency

<frequency>

Frequency values are used with aural properties. As defined in CSS2, a frequency value is a <number> immediately followed by a frequency unit identifier. The frequency unit identifiers are:

  • Hz: Hertz
  • kHz: kilo Hertz

Frequency values may not be negative.

FuncIRI

<FuncIRI>
Functional notation for a reference, the syntax for this reference is the same as the {{ cssxref("uri", "CSS URI") }}

ICCColor

<icccolor>

An <icccolor> is an ICC color specification. In SVG 1.1, an ICC color specification is given by a name, which references a {{ SVGElement("color-profile") }} element, and one or more color component values. The grammar is as follows:

icccolor ::= "icc-color(" name (, number)+ ")"

The corresponding SVG DOM interface for <icccolor> is {{ domxref("SVGICCColor") }}.

Integer

<integer>

An <integer> is specified as an optional sign character ("+" or "-") followed by one or more digits "0" to "9":

integer ::= [+-]? [0-9]+

If the sign character is not present, the number is non-negative.

Unless stated otherwise for a particular attribute or property, the range for an <integer> encompasses (at a minimum) -2147483648 to 2147483647.

Within the SVG DOM, an <integer> is represented as a number or an {{ domxref("SVGAnimatedInteger") }}.

IRI

<IRI>

An Internationalized Resource Identifier. For the specification of IRI references in SVG, see SVG 1.1 (2nd Edition): IRI references.

Length

<length>

A length is a distance measurement, given as a number along with a unit. Lengths are specified in one of two ways. When used in a stylesheet, a <length> is defined as follows:

length ::= number (~"em" | ~"ex" | ~"px" | ~"in" | ~"cm" | ~"mm" | ~"pt" | ~"pc")?

See the CSS2 specification for the meanings of the unit identifiers.

For properties defined in CSS2, a length unit identifier must be provided. For length values in SVG-specific properties and their corresponding presentation attributes, the length unit identifier is optional. If not provided, the length value represents a distance in the current user coordinate system. In presentation attributes for all properties, whether defined in SVG1.1 or in CSS2, the length identifier, if specified, must be in lower case.

When lengths are used in an SVG attribute, a <length> is instead defined as follows:

length ::= number ("em" | "ex" | "px" | "in" | "cm" | "mm" | "pt" | "pc" | "%")?

The unit identifiers in such <length> values must be in lower case.

Note that the non-property <length> definition also allows a percentage unit identifier. The meaning of a percentage length value depends on the attribute for which the percentage length value has been specified. Two common cases are:

  • when a percentage length value represents a percentage of the viewport width or height
  • when a percentage length value represents a percentage of the bounding box width or height on a given object.

In the SVG DOM, <length> values are represented using {{ domsref("SVGLength") }} or {{ domxref("SVGAnimatedLength") }} objects.

List-of-Ts

<list-of-Ts>

(Where T is some type.) A list consists of a separated sequence of values. Unless explicitly described differently, lists within SVG's XML attributes can be either comma-separated, with optional white space before or after the comma, or white space-separated.

White space in lists is defined as one or more of the following consecutive characters: "space" (U+0020), "tab" (U+0009), "line feed" (U+000A), "carriage return" (U+000D) and "form-feed" (U+000C).

The following is a template for an EBNF grammar describing the <list-of-Ts> syntax:

list-of-Ts ::= T
               | T, list-of-Ts

Within the SVG DOM, values of a <list-of-Ts> type are represented by an interface specific for the particular type T. For example, a <list-of-lengths> is represented in the SVG DOM using an {{ domxref("SVGLengthList") }} or {{ domxref("SVGAnimatedLengthList") }} object.

Name

<name>

A name, which is a string where a few characters of syntaxtic significance are disallowed.

name  ::= [^,()#x20#x9#xD#xA] /* any char except ",", "(", ")" or wsp */

Number

<number>

Real numbers are specified in one of two ways. When used in a stylesheet, a <number> is defined as follows:

number ::= integer
           | [+-]? [0-9]* "." [0-9]+

This syntax is the same as the definition in CSS (CSS2, section 4.3.1).

When used in an SVG attribute, a <number> is defined differently, to allow numbers with large magnitudes to be specified more concisely:

number ::= integer ([Ee] integer)?
           | [+-]? [0-9]* "." [0-9]+ ([Ee] integer)?

Within the SVG DOM, a <number> is represented as a float, {{ domxref("SVGNumber") }} or a {{ domxref("SVGAnimatedNumber") }}.

Number-optional-number

<number-optional-number>

A pair of <number>s, where the second <number> is optional.

number-optional-number ::= number
                           | number, number

In the SVG DOM, a <number-optional-number> is represented using a pair of {{ domxref("SVGAnimatedInteger") }} or {{ domxref("SVGAnimatedNumber") }} objects.

Paint

<paint>

The values for properties {{ SVGAttr("fill") }} and {{ SVGAttr("stroke") }} are specifications of the type of paint to use when filling or stroking a given graphics element. The available options and syntax for <paint> are described in Specifying paint.

Within the SVG DOM, <paint> values are represented using {{ domxref("SVGPaint") }} objects.

Percentage

<percentage>

Percentages are specified as a number followed by a "%" character:

percentage ::= number "%"

Note that the definition of <number> depends on whether the percentage is specified in a stylesheet or in an attribute that is not also a presentation attribute.

Percentage values are always relative to another value, for example a length. Each attribute or property that allows percentages also defines the reference distance measurement to which the percentage refers.

Within the SVG DOM, a <percentage> is represented using an {{ domxref("SVGNumber") }} or {{ domxref("SVGAnimatedNumber") }} object.

Time

<time>

A time value is a <number> immediately followed by a time unit identifier. The time unit identifiers are:

  • ms: milliseconds
  • s: seconds

Transform-list

<transform-list>

A <transform-list> is used to specify a list of coordinate system transformations. A detailed description of the possible values for a <transform-list> is given in SVG1.1 (2nd Edition) Modifying the User Coordinate System: the transform attribute.

Within the SVG DOM, a <transform-list> value is represented using an {{ domxref("SVGTransformList") }} or {{ domxref("SVGAnimatedTransformList") }} object.

Revision Source

<h2>Angle</h2>
<dl> <dt>&lt;angle&gt;</dt> <dd> <p>Angles are specified in one of two ways. When used in the value of a property in a stylesheet, an &lt;angle&gt; is defined as follows:</p> <pre>angle ::= number (~"deg" | ~"grad" | ~"rad")?</pre> <p>where deg indicates degrees, grad indicates grads and rad indicates radians.</p> <p>For properties defined in CSS2, an angle unit identifier must be provided. For angle values in SVG-specific properties and their corresponding presentation attributes, the angle unit identifier is optional. If not provided, the angle value is assumed to be in degrees. In presentation attributes for all properties, whether defined in SVG1.1 or in CSS2, the angle identifier, if specified, must be in lower case.</p> <p>When angles are used in an SVG attribute, &lt;angle&gt; is instead defined as follows:</p> <pre>angle ::= number ("deg" | "grad" | "rad")?</pre> <p>The unit identifiers in such &lt;angle&gt; values must be in lower case.</p> <p>In the SVG DOM, &lt;angle&gt; values are represented using {{ domxref("SVGAngle") }} or {{ domxref("SVGAnimatedAngle objects") }}.</p> </dd>
</dl>
<h2>Anything</h2>
<dl> <dt id="DataTypeAnything">&lt;anything&gt;</dt> <dd> <p>The basic type &lt;anything&gt; is a sequence of zero or more characters. Specifically:</p> <pre>anything ::= Char*</pre> <p>where <a class="external" href="http://www.w3.org/TR/2008/REC-xml-20081126/#NT-Char" title="http://www.w3.org/TR/2008/REC-xml-20081126/#NT-Char">Char</a> is the production for a character, as defined in XML 1.0 , section 2.2).</p> </dd>
</dl>
<h2>Color</h2>
<dl> <dt>&lt;color&gt;</dt> <dd> <p>The basic type &lt;color&gt; is a CSS2 compatible specification for a color in the sRGB color space. &lt;color&gt; applies to SVG's use of the {{ SVGAttr("color") }} attribute and is a component of the definitions of attributes {{ SVGAttr("fill") }}, {{ SVGAttr("stroke") }}, {{ SVGAttr("stop-color") }}, {{ SVGAttr("flood-color") }} and {{ SVGAttr("lighting-color") }}, which also offer optional ICC-based color specifications.</p> <p>SVG supports all of the syntax alternatives for &lt;color&gt; defined in <a class="external" href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-color" title="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-color">CSS2 syntax and basic data types</a>, and (depend on the implementation) in the future <a class="external" href="http://www.w3.org/TR/css3-color/" title="http://www.w3.org/TR/css3-color/">CSS Color Module Level 3</a>.</p> <p>A &lt;color&gt; is either a keyword or a numerical RGB specification.</p> <p>In addition to these color keywords, users may specify keywords that correspond to the colors used by objects in the user's environment. The normative definition of these keywords is found in <a class="external" href="http://www.w3.org/TR/2008/REC-CSS2-20080411/ui.html#system-colors" title="http://www.w3.org/TR/2008/REC-CSS2-20080411/ui.html#system-colors">User preferences for colors</a> (CSS2, section 18.2).</p> <p>The format of an RGB value in hexadecimal notation is a "#" immediately followed by either three or six hexadecimal characters. The three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, <code>#fb0</code> expands to <code>#ffbb00</code>. This ensures that white (<code>#ffffff</code>) can be specified with the short notation (<code>#fff</code>) and removes any dependencies on the color depth of the display. The format of an RGB value in the functional notation is an RGB start-function followed by a comma-separated list of three numerical values (either three integer values or three percentage values) followed by ")". An RGB start-function is the case-insensitive string "rgb(", for example "RGB(" or "rGb(". For compatibility, the all-lowercase form "rgb(" is preferred. The integer value 255 corresponds to 100%, and to F or FF in the hexadecimal notation: <code>rgb(255,255,255)</code> = <code>rgb(100%,100%,100%)</code> = <code>#FFF</code>. White space characters are allowed around the numerical values. All RGB colors are specified in the sRGB color space. Using sRGB provides an unambiguous and objectively measurable definition of the color, which can be related to international standards.</p> <pre>color    ::= "#" hexdigit hexdigit hexdigit (hexdigit hexdigit hexdigit)?
             | "rgb("integer, integer, integer")"
             | "rgb("integer "%", integer "%", integer "%)"
             | color-keyword
hexdigit ::= [0-9A-Fa-f]
    </pre> <p>where <code>color-keyword</code> matches (case insensitively) one of the color keywords listed in <a class="external" href="http://www.w3.org/TR/css3-color/" title="http://www.w3.org/TR/css3-color/">CSS Color Module Level 3</a>, or one of the system color keywords listed in <a class="external" href="http://www.w3.org/TR/2008/REC-CSS2-20080411/ui.html#system-colors" title="http://www.w3.org/TR/2008/REC-CSS2-20080411/ui.html#system-colors">User preferences for colors</a> (CSS2, section 18.2).</p> <p>The corresponding SVG DOM interface definitions for &lt;color&gt; are defined the one defined by CSS. SVG's extension to color, including the ability to specify ICC-based colors, are represented using DOM interface {{ domxref("SVGColor") }}.</p> </dd>
</dl>
<h2>Coordinate</h2>
<dl> <dt>&lt;coordinate&gt;</dt> <dd> <p>A &lt;coordinate&gt; is a length in the user coordinate system that is the given distance from the origin of the user coordinate system along the relevant axis (the x-axis for X coordinates, the y-axis for Y coordinates). Its syntax is the same as that for <a href="/en/SVG/Content_type#length" title="https://developer.mozilla.org/en/SVG/Content_type#length">&lt;length&gt;</a>.</p> <p>Within the SVG DOM, a &lt;coordinate&gt; is represented as an {{ domxref("SVGLength") }} or an {{ domxref("SVGAnimatedLength") }}.</p> </dd>
</dl>
<h2>Frequency</h2>
<dl class="definitions"> <dt>&lt;frequency&gt;</dt> <dd> <p>Frequency values are used with aural properties. As defined in CSS2, a frequency value is a <a href="/en/SVG/Content_type#Number" title="https://developer.mozilla.org/en/SVG/Content_type#Number">&lt;number&gt;</a> immediately followed by a frequency unit identifier. The frequency unit identifiers are:</p> <ul> <li><code>Hz</code>: Hertz</li> <li><code>kHz</code>: kilo Hertz</li> </ul> <p>Frequency values may not be negative.</p> </dd>
</dl>
<h2>FuncIRI</h2>
<dl> <dt>&lt;FuncIRI&gt;</dt> <dd>Functional notation for a reference, the syntax for this reference is the same as the {{ cssxref("uri", "CSS URI") }}</dd>
</dl>
<h2>ICCColor</h2>
<dl> <dt>&lt;icccolor&gt;</dt> <dd> <p>An &lt;icccolor&gt; is an ICC color specification. In SVG 1.1, an ICC color specification is given by a name, which references a {{ SVGElement("color-profile") }} element, and one or more color component values. The grammar is as follows:</p> <pre>icccolor ::= "icc-color(" name (, number)+ ")"
</pre> <p>The corresponding SVG DOM interface for &lt;icccolor&gt; is {{ domxref("SVGICCColor") }}.</p> </dd>
</dl>
<h2>Integer</h2>
<dl> <dt>&lt;integer&gt;</dt> <dd> <p>An &lt;integer&gt; is specified as an optional sign character ("+" or "-") followed by one or more digits "0" to "9":</p> <pre>integer ::= [+-]? [0-9]+</pre> <p>If the sign character is not present, the number is non-negative.</p> <p>Unless stated otherwise for a particular attribute or property, the range for an &lt;integer&gt; encompasses (at a minimum) -2147483648 to 2147483647.</p> <p>Within the SVG DOM, an &lt;integer&gt; is represented as a <code>number</code> or an {{ domxref("SVGAnimatedInteger") }}.</p> </dd>
</dl>
<h2>IRI</h2>
<dl> <dt>&lt;IRI&gt;</dt> <dd> <p>An Internationalized Resource Identifier. For the specification of IRI references in SVG, see <a class="external" href="http://www.w3.org/TR/SVG/linking.html#IRIReference" title="http://www.w3.org/TR/SVG/linking.html#IRIReference">SVG 1.1 (2nd Edition): IRI references</a>.</p> </dd>
</dl>
<h2>Length</h2>
<dl> <dt>&lt;length&gt;</dt> <dd> <p>A length is a distance measurement, given as a number along with a unit. Lengths are specified in one of two ways. When used in a stylesheet, a &lt;length&gt; is defined as follows:</p> <pre>length ::= number (~"em" | ~"ex" | ~"px" | ~"in" | ~"cm" | ~"mm" | ~"pt" | ~"pc")?</pre> <p><a class="external" href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#length-units" title="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#length-units">See the CSS2 specification</a> for the meanings of the unit identifiers.</p> <p>For properties defined in CSS2, a length unit identifier must be provided. For length values in SVG-specific properties and their corresponding presentation attributes, the length unit identifier is optional. If not provided, the length value represents a distance in the current user coordinate system. In presentation attributes for all properties, whether defined in SVG1.1 or in CSS2, the length identifier, if specified, must be in lower case.</p> <p>When lengths are used in an SVG attribute, a &lt;length&gt; is instead defined as follows:</p> <pre>length ::= number ("em" | "ex" | "px" | "in" | "cm" | "mm" | "pt" | "pc" | "%")?</pre> <p>The unit identifiers in such &lt;length&gt; values must be in lower case.</p> <p>Note that the non-property &lt;length&gt; definition also allows a percentage unit identifier. The meaning of a percentage length value depends on the attribute for which the percentage length value has been specified. Two common cases are:</p> <ul> <li>when a percentage length value represents a percentage of the viewport width or height</li> <li>when a percentage length value represents a percentage of the bounding box width or height on a given object.</li> </ul> <p>In the SVG DOM, &lt;length&gt; values are represented using {{ domsref("SVGLength") }} or {{ domxref("SVGAnimatedLength") }} objects.</p> </dd>
</dl>
<h2>List-of-<var>T</var>s</h2>
<dl> <dt>&lt;list-of-<var>T</var>s&gt;</dt> <dd> <p>(Where <var>T</var> is some type.) A list consists of a separated sequence of values. Unless explicitly described differently, lists within SVG's XML attributes can be either comma-separated, with optional white space before or after the comma, or white space-separated.</p> <p>White space in lists is defined as one or more of the following consecutive characters: "space" (U+0020), "tab" (U+0009), "line feed" (U+000A), "carriage return" (U+000D) and "form-feed" (U+000C).</p> <p>The following is a template for an EBNF grammar describing the &lt;list-of-<var>T</var>s&gt; syntax:</p> <pre>list-of-<var>T</var>s ::= <var>T</var>
               | <var>T</var>, list-of-<var>T</var>s</pre> <p>Within the SVG DOM, values of a &lt;list-of-<var>T</var>s&gt; type are represented by an interface specific for the particular type <var>T</var>. For example, a &lt;list-of-lengths&gt; is represented in the SVG DOM using an {{ domxref("SVGLengthList") }} or {{ domxref("SVGAnimatedLengthList") }} object.</p> </dd>
</dl>
<h2>Name</h2>
<dl> <dt>&lt;name&gt;</dt> <dd> <p>A name, which is a string where a few characters of syntaxtic significance are disallowed.</p> <pre>name  ::= [^,()#x20#x9#xD#xA] /* any char except ",", "(", ")" or wsp */</pre> </dd>
</dl>
<h2>Number</h2>
<dl> <dt>&lt;number&gt;</dt> <dd> <p>Real numbers are specified in one of two ways. When used in a stylesheet, a &lt;number&gt; is defined as follows:</p> <pre>number ::= integer
           | [+-]? [0-9]* "." [0-9]+</pre> <p>This syntax is the same as the definition in CSS (CSS2, section 4.3.1).</p> <p>When used in an SVG attribute, a &lt;number&gt; is defined differently, to allow numbers with large magnitudes to be specified more concisely:</p> <pre>number ::= integer ([Ee] integer)?
           | [+-]? [0-9]* "." [0-9]+ ([Ee] integer)?</pre> <p>Within the SVG DOM, a &lt;number&gt; is represented as a float, {{ domxref("SVGNumber") }} or a {{ domxref("SVGAnimatedNumber") }}.</p> </dd>
</dl>
<h2>Number-optional-number</h2>
<dl> <dt>&lt;number-optional-number&gt;</dt> <dd> <p>A pair of &lt;number&gt;s, where the second &lt;number&gt; is optional.</p> <pre>number-optional-number ::= number
                           | number, number</pre> <p>In the SVG DOM, a &lt;number-optional-number&gt; is represented using a pair of {{ domxref("SVGAnimatedInteger") }} or {{ domxref("SVGAnimatedNumber") }} objects.</p> </dd>
</dl>
<h2>Paint</h2>
<dl> <dt>&lt;paint&gt;</dt> <dd> <p>The values for properties {{ SVGAttr("fill") }} and {{ SVGAttr("stroke") }} are specifications of the type of paint to use when filling or stroking a given graphics element. The available options and syntax for &lt;paint&gt; are described in <a class="external" href="http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint" title="http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint">Specifying paint</a>.</p> <p>Within the SVG DOM, &lt;paint&gt; values are represented using {{ domxref("SVGPaint") }} objects.</p> </dd>
</dl>
<h2>Percentage</h2>
<dl> <dt id="DataTypePercentage">&lt;percentage&gt;</dt> <dd> <p>Percentages are specified as a number followed by a "%" character:</p> <pre>percentage ::= number "%"</pre> <p>Note that the definition of &lt;number&gt; depends on whether the percentage is specified in a stylesheet or in an attribute that is not also a presentation attribute.</p> <p>Percentage values are always relative to another value, for example a length. Each attribute or property that allows percentages also defines the reference distance measurement to which the percentage refers.</p> <p>Within the SVG DOM, a &lt;percentage&gt; is represented using an {{ domxref("SVGNumber") }} or {{ domxref("SVGAnimatedNumber") }} object.</p> </dd>
</dl>
<h2>Time</h2>
<dl> <dt>&lt;time&gt;</dt> <dd> <p>A time value is a &lt;number&gt; immediately followed by a time unit identifier. The time unit identifiers are:</p> <ul> <li><span class="attr-value">ms: milliseconds</span></li> <li><span class="attr-value">s: seconds</span></li> </ul> </dd>
</dl>
<h2>Transform-list</h2>
<dl> <dt>&lt;transform-list&gt;</dt> <dd> <p>A &lt;transform-list&gt; is used to specify a list of coordinate system transformations. A detailed description of the possible values for a &lt;transform-list&gt; is given in <a class="external" href="http://www.w3.org/TR/SVG/coords.html#TransformAttribute" title="http://www.w3.org/TR/SVG/coords.html#TransformAttribute">SVG1.1 (2nd Edition) Modifying the User Coordinate System: the transform attribute</a>.</p> <p>Within the SVG DOM, a &lt;transform-list&gt; value is represented using an {{ domxref("SVGTransformList") }} or {{ domxref("SVGAnimatedTransformList") }} object.</p> </dd>
</dl>
Revert to this revision