- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Mon, 1 Sep 2014 04:23:28 -0700 (PDT)
- To: public-svg-wg@w3.org
https://github.com/w3c/svgwg/commit/ac1040e821ddfed56ece6bbdbe4441e5cf76dfc5 commit ac1040e821ddfed56ece6bbdbe4441e5cf76dfc5 Author: Dirk Schulze <dschulze@chromium.org> Date: Mon Sep 1 13:20:27 2014 +0200 Remove some more unused or duplicated type definitions from other specifications. diff --git a/master/animate.html b/master/animate.html index 0f8233e..3e1afd2 100644 --- a/master/animate.html +++ b/master/animate.html @@ -504,7 +504,7 @@ attribute being animated.</p> animation values defined by the <a>'to'</a>, <a>'from'</a>, <a>'by'</a> and <a>'values'</a> attributes. Distance is defined only for scalar types (such as -<a href="types.html#DataTypeLength"><length></a>), colors +<a><length></a>), colors and the subset of transformation types that are supported by <a>'animateTransform'</a>. In the list of distance functions below, V<sub>a</sub> and V<sub>b</sub> @@ -515,11 +515,11 @@ pace of change, it does not make sense to define distance functions for all data types. Distance can be usefully defined for types whose values are <var>n</var>-dimensional vectors (including scalars, which are 1-dimensional vectors). For example, a -<a href="types.html#DataTypeLength"><length></a> value is a scalar -value, and a <a href="types.html#DataTypeColor"><color></a> value +<a><length></a> value is a scalar +value, and a <a><color></a> value is a 3-dimensional vector. Thus attributes of these types can have paced animation applied to them. On the other hand, a -<a href="types.html#DataTypeLengths"><list-of-length></a> +<a><list-of-lengths></a> (as used by <a href="painting.html#StrokeDasharrayProperty"><span class="property">'stroke-dasharray'</span></a>) is a list of scalars (1-dimensional vectors), and <a href="shapes.html#PointsBNF"><list-of-points></a> (as used by @@ -531,9 +531,9 @@ distance function defined and cannot have paced animation applied to them.</p> <p>The distance functions for types that support paced animation are as follows:</p> <dl class='indented'> - <dt><a href="types.html#DataTypeInteger"><integer></a>, - <a href="types.html#DataTypeLength"><length></a> and - <a href="types.html#DataTypeNumber"><number></a></dt> + <dt><a><integer></a>, + <a><length></a> and + <a><number></a></dt> <dd> <p>distance(V<sub>a</sub>, V<sub>b</sub>) = |V<sub>a</sub> − V<sub>b</sub>|</p> <p> @@ -545,7 +545,7 @@ distance function defined and cannot have paced animation applied to them.</p> </p> </dd> - <dt><a href="types.html#DataTypeColor"><color></a></dt> + <dt><a><color></a></dt> <dd> <p>distance(V<sub>a</sub>, V<sub>b</sub>) = sqrt((V<sub>a</sub>.red − V<sub>b</sub>.red)<sup>2</sup> + (V<sub>a</sub>.green − V<sub>b</sub>.green)<sup>2</sup> + (V<sub>a</sub>.blue − V<sub>b</sub>.blue)<sup>2</sup>), where:</p> <div class='vardefs'> @@ -558,7 +558,7 @@ distance function defined and cannot have paced animation applied to them.</p> where 0 represents none of that color component, and 1 represents the maximum amount of that color component, in the sRGB gamut [<a href='refs.html#ref-SRGB'>SRGB</a>]. Since - <a href="types.html#DataTypeColor"><color></a> values + <a><color></a> values may specify colors outside of the sRGB gamut, these component values may lie outside the range [0, 1]. </p> @@ -590,7 +590,7 @@ distance function defined and cannot have paced animation applied to them.</p> </div> <p> Note that, as when specifying scale transformations in a - <a href="types.html#DataTypeTransformList"><transform-list></a>, if the + <a><transform-list></a>, if the <var>y</var> component of the scale is omitted it is implicitly equal to the <var>x</var> component. </p> @@ -2011,7 +2011,7 @@ In particular, see <a href="http://www.w3.org/TR/2001/REC-smil-animation-2001090 white space character or a comma. Additional white space around the separator is allowed. For example, <span class="attr-value">values="10,20;30,20;30,40"</span> or <span class="attr-value">values="10mm,20mm;30mm,20mm;30mm,40mm"</span>. - Each coordinate represents a <a href="types.html#DataTypeLength">length</a>. + Each coordinate represents a <a><length></a>. Attributes <a>'from'</a>, <a>'by'</a>, <a>'to'</a> and <a>'values'</a> specify a shape on the current canvas which represents the motion path.</p> @@ -2525,8 +2525,7 @@ is not possible.</p> <td> </td> </tr> <tr> - <th><a - href="types.html#DataTypeColor"><color></a></th> + <th><a><color></a></th> <td>yes</td> <td>yes</td> <td>yes</td> @@ -2534,8 +2533,7 @@ is not possible.</p> <td>Only additive if each value can be converted to an RGB color.</td> </tr> <tr> - <th><a - href="types.html#DataTypeFrequency"><frequency></a></th> + <th><a><frequency></a></th> <td>no</td> <td>no</td> <td>no</td> @@ -2543,8 +2541,7 @@ is not possible.</p> <td> </td> </tr> <tr> - <th><a - href="types.html#DataTypeInteger"><integer></a></th> + <th><a><integer></a></th> <td>yes</td> <td>yes</td> <td>yes</td> @@ -2576,8 +2573,7 @@ is not possible.</p> <td> </td> </tr> <tr> - <th><a - href="types.html#DataTypePaint"><paint></a></th> + <th><a><paint></a></th> <td>yes</td> <td>yes</td> <td>yes</td> @@ -2593,7 +2589,7 @@ is not possible.</p> <td> </td> </tr> <tr> - <th><a href="types.html#DataTypeTime"><time></a></th> + <th><a><time></a></th> <td>no</td> <td>no</td> <td>no</td> @@ -2601,7 +2597,7 @@ is not possible.</p> <td> </td> </tr> <tr> - <th><a href="types.html#DataTypeURL"><url></a></th> + <th><a><url></a></th> <td>no</td> <td>yes</td> <td>yes</td> diff --git a/master/changes.html b/master/changes.html index b484830..c3ebf5a 100644 --- a/master/changes.html +++ b/master/changes.html @@ -242,8 +242,6 @@ have been made.</p> <li>Added <a>'vector-effect'</a> property to support non-scaling stroke.</li> - <li>Add <a><gradient></a> as possible value for <a><paint></a></li> - <li>Added arcs value on <a>'stroke-linejoin'</a>.</li> <li>Added the <span class="attr-value">'auto-start-reverse'</span> diff --git a/master/definitions.xml b/master/definitions.xml index 6916292..9baab76 100644 --- a/master/definitions.xml +++ b/master/definitions.xml @@ -1188,40 +1188,44 @@ <!-- ... grammar symbols ................................................ --> <symbol name='align' href='coords.html#DataTypeAlign'/> <symbol name='anything' href='types.html#DataTypeAnything'/> - <symbol name='color' href='types.html#DataTypeColor'/> + <symbol name='color' href='http://www.w3.org/TR/css3-values/#colors'/> <symbol name='child-selector' href='types.html#DataTypeChildSelector'/> <symbol name='dasharray' href='painting.html#DataTypeDasharray'/> <symbol name='final-paint-layer' href='types.html#typedef-final-paint-layer'/> - <symbol name='frequency' href='types.html#DataTypeFrequency'/> - <symbol name='gradient' href='types.html#DataTypeGradient'/> + <symbol name='frequency' href='http://www.w3.org/TR/css3-values/#frequency'/> <symbol name='icccolor' href='types.html#DataTypeICCColor'/> - <symbol name='image' href='types.html#DataTypeImage'/> - <symbol name='integer' href='types.html#DataTypeInteger'/> + <symbol name='image' href='http://www.w3.org/TR/css3-values/#images'/> + <symbol name='integer' href='http://www.w3.org/TR/css3-values/#integers'/> <symbol name='knockout-offset' href="painting.html#DataTypeKnockoutOffset"/> <symbol name='knockout-shape' href="painting.html#DataTypeKnockoutShape"/> - <symbol name='length' href='types.html#DataTypeLength'/> + <symbol name='length' href='http://www.w3.org/TR/css3-values/#lengths'/> <symbol name='languageID' href='types.html#DataTypeLanguageID'/> <symbol name='list' href='types.html#DataTypeList'/> <symbol name='list-of-family-names' href='types.html#DataTypeListOfFamilyNames'/> <symbol name='list-of-strings' href='types.html#DataTypeListOfStrings'/> <symbol name='marker-ref' href='painting.html#DataTypeMarkerRef'/> - <symbol name="name" href="types.html#DataTypeName"></symbol> - <symbol name='number' href='types.html#DataTypeNumber'/> + <symbol name="name" href="types.html#DataTypeName"/> + <symbol name='number' href='http://www.w3.org/TR/css3-values/#numbers'/> <symbol name='number-optional-number' href='types.html#DataTypeNumberOptionalNumber'/> - <symbol name='paint' href='types.html#DataTypePaint'/> + <symbol name='paint' href='painting.html#SpecifyingPaint'/> <symbol name='paint-layer' href='types.html#typedef-paint-layer'/> <symbol name='paint-source' href='types.html#typedef-paint-source'/> <symbol name='paint-size' href='http://www.w3.org/TR/css3-background/#ltbg-sizegt'/> - <symbol name='percentage' href='types.html#DataTypePercentage'/> + <symbol name='percentage' href='http://www.w3.org/TR/css3-values/#percentages'/> <symbol name='position' href='http://www.w3.org/TR/css3-background/#ltpositiongt'/> <symbol name='repeat-style' href='http://www.w3.org/TR/css3-background/#ltrepeat-stylegt'/> <symbol name='shape-box' href='http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/#typedef-shape-box'/> - <symbol name='time' href='types.html#DataTypeTime'/> - <symbol name='transform-list' href='types.html#DataTypeTransformList'/> + <symbol name='time' href='http://www.w3.org/TR/css3-values/#time'/> + <symbol name='transform-list' href='http://dev.w3.org/csswg/css-transforms/#typedef-transform-list'/> <symbol name='url' href='types.html#DataTypeURL'/> <symbol name='whitespace' href='types.html#DataTypeWhitespace'/> <symbol name='XML-Name' href="types.html#DataTypeXML-Name"/> + <symbol name='list-of-lengths' href='types.html#DataTypeLengths'/> + <symbol name='list-of-coordinates' href='types.html#DataTypeLengths'/> + <symbol name='list-of-numbers' href='types.html#DataTypeNumbers'/> + + <!-- ... terms (these will be generated later) .......................... --> <!-- ... elements, in alphabetic order ... --> <term name='animation element' href='intro.html#TermAnimationElement'/> diff --git a/master/interact.html b/master/interact.html index 934ffa1..e794df1 100644 --- a/master/interact.html +++ b/master/interact.html @@ -1056,7 +1056,7 @@ that the cursor can be visible over most backgrounds.</p> </table> </dt> <dd> - An <a href="types.html#DataTypeURL">URL reference</a> to the file or element + An <a>URL reference</a> to the file or element which provides the image of the cursor. </dd> </dl> diff --git a/master/linking.html b/master/linking.html index e20bbbf..21722ac 100644 --- a/master/linking.html +++ b/master/linking.html @@ -294,7 +294,7 @@ requirement on SVG applications.</p> no.</p></dd> <dt><a id="XLinkTitleAttribute" ></a> <span class="adef">xlink:title</span> = "<span - class="attr-value"><a href="types.html#DataTypeAnything"><anything></a></span>"</dt> + class="attr-value"><a><anything></a></span>"</dt> <dd><p>The title attribute shall be used to describe the meaning of a link or resource in a human-readable fashion, along the same lines as the role or arcrole attribute. A value is diff --git a/master/propidx.html b/master/propidx.html index 14fae13..f401c81 100644 --- a/master/propidx.html +++ b/master/propidx.html @@ -51,8 +51,8 @@ other specifications.</p> </tr> <tr> <th><a>'baseline-shift'</a></th> - <td>baseline | sub | super | <a href="types.html#DataTypePercentage"><percentage></a> - | <a href="types.html#DataTypeLength"><length></a> + <td>baseline | sub | super | <a><percentage></a> + | <a><length></a> </td> <td>baseline</td> <td><a>'tspan'</a>, <a>'textPath'</a> elements</td> @@ -107,7 +107,7 @@ other specifications.</p> </tr> <tr> <th><a>'color'</a></th> - <td><a href="types.html#DataTypeColor"><color></a> + <td><a><color></a> </td> <td>depends on user agent</td> <td>elements to which properties <a>'fill'</a>, <a>'stroke'</a>, <a>'stop-color'</a>, <a>'flood-color'</a>, <a>'lighting-color'</a> apply</td> @@ -242,8 +242,8 @@ other specifications.</p> <tr> <th><a>'flood-color'</a></th> <td>currentColor |<br /> - <a href="types.html#DataTypeColor"><color></a> - [<a href="types.html#DataTypeICCColor"><icccolor></a>]</td> + <a><color></a> + [<a><icccolor></a>]</td> <td>black</td> <td><a>'feFlood'</a> elements</td> <td>no</td> @@ -296,7 +296,7 @@ other specifications.</p> <th><a>'font-size'</a></th> <td><a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#value-def-absolute-size"> <span class="value-inst-absolute-size noxref"><absolute-size></span></a> | <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#value-def-relative-size"> <span class="value-inst-relative-size noxref"><relative-size></span></a> - | <a href="types.html#DataTypeLength"><length></a> + | <a><length></a> | <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-percentage"> <span class="value-inst-percentage noxref"><percentage></span></a> </td> <td>medium</td> @@ -393,7 +393,7 @@ other specifications.</p> </tr> <tr> <th><a>'letter-spacing'</a></th> - <td>normal | <a href="types.html#DataTypeLength"><length></a> </td> + <td>normal | <a><length></a> </td> <td>normal</td> <td><a>text content elements</a></td> <td>yes</td> @@ -404,8 +404,8 @@ other specifications.</p> <tr> <th><a>'lighting-color'</a></th> <td>currentColor |<br /> - <a href="types.html#DataTypeColor"><color></a> - [<a href="types.html#DataTypeICCColor"><icccolor></a>]</td> + <a><color></a> + [<a><icccolor></a>]</td> <td>white</td> <td><a>'feDiffuseLighting'</a> and <a>'feSpecularLighting'</a> @@ -420,7 +420,7 @@ other specifications.</p> <td>normal | <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-number"> <span class="value-inst-number noxref"><number></span></a> | - <a href="types.html#DataTypeLength"><length></a> | + <a><length></a> | <a><percentage></a></td> <td>normal</td> <td><a>'text'</a> elements</td> @@ -518,8 +518,8 @@ other specifications.</p> <tr> <th><a>'stop-color'</a></th> <td>currentColor |<br /> - <a href="types.html#DataTypeColor"><color></a> - [<a href="types.html#DataTypeICCColor"><icccolor></a>]</td> + <a><color></a> + [<a><icccolor></a>]</td> <td>black</td> <td><a>'stop'</a> elements</td> <td>no</td> @@ -560,7 +560,7 @@ other specifications.</p> </tr> <tr> <th><a>'stroke-dashoffset'</a></th> - <td><a><percentage></a> | <a href="types.html#DataTypeLength"><length></a> </td> + <td><a><percentage></a> | <a><length></a> </td> <td>0</td> <td><a>shapes</a> and <a>text content elements</a></td> <td>yes</td> @@ -610,7 +610,7 @@ other specifications.</p> </tr> <tr> <th><a>'stroke-width'</a></th> - <td><a><percentage></a> | <a href="types.html#DataTypeLength"><length></a> </td> + <td><a><percentage></a> | <a><length></a> </td> <td>1</td> <td><a>shapes</a> and <a>text content elements</a></td> <td>yes</td> @@ -683,7 +683,7 @@ other specifications.</p> </tr> <tr> <th><a>'word-spacing'</a></th> - <td>normal | <a href="types.html#DataTypeLength"><length></a> </td> + <td>normal | <a><length></a> </td> <td>normal</td> <td><a>text content elements</a></td> <td>yes</td> diff --git a/master/text.html b/master/text.html index 438f3f8..56340cb 100644 --- a/master/text.html +++ b/master/text.html @@ -625,7 +625,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided <p> If a single - <a href="types.html#DataTypeLength"><length></a> is + <a><length></a> is provided, then the value represents the new absolute X coordinate for the <a>current text position</a> for rendering the glyphs that correspond to the first character within this @@ -633,7 +633,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <p> If a comma- or space-separated list of <var>n</var> - <a href="types.html#DataTypeLength"><length></a>s is + <a><length></a>s is provided, then the values represent new absolute X coordinates for the <a>current text position</a> for rendering the glyphs corresponding to each of the first <var>n</var> characters @@ -645,7 +645,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-coordinates></a></dd> + <dt>Value</dt> <dd><a><list-of-coordinates></a></dd> <dt><a>Lacuna value</a></dt> <dd>0</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -663,7 +663,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-coordinates></a></dd> + <dt>Value</dt> <dd><a><list-of-coordinates></a></dd> <dt><a>Lacuna value</a></dt> <dd>0</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -684,7 +684,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-lengths></a></dd> + <dt>Value</dt> <dd><a><list-of-lengths></a></dd> <dt><a>Lacuna value</a></dt> <dd>If not specified on this element or any of its descendants, no supllemental shifts along the x-axis will occur.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -705,7 +705,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-lengths></a></dd> + <dt>Value</dt> <dd><a><list-of-lengths></a></dd> <dt><a>Lacuna value</a></dt> <dd>If not specified on this element or any of its descendants, no supllemental shifts along the y-axis will occur.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -726,7 +726,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeNumbers"><list-of-numbers></a></dd> + <dt>Value</dt> <dd><a><list-of-numbers></a></dd> <dt><a>Lacuna value</a></dt> <dd>If not specified on this element or any of its descendants, no supllemental rotations will occur.</dd> <dt><a>Animatable</a></dt> <dd>yes (non-additive).</dd> </dl> @@ -778,7 +778,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLength"><length></a></dd> + <dt>Value</dt> <dd><a><length></a></dd> <dt><a>Lacuna value</a></dt> <dd>See above.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -849,7 +849,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLength"><length></a></dd> + <dt>Value</dt> <dd><a><length></a></dd> <dt><a>Lacuna value</a></dt> <dd>As if not specified.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -871,7 +871,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLength"><length></a></dd> + <dt>Value</dt> <dd><a><length></a></dd> <dt><a>Lacuna value</a></dt> <dd>As if not specified.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -939,7 +939,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided <p> If a single - <a href="types.html#DataTypeLength"><length></a> is + <a><length></a> is provided, then the value represents the new absolute X coordinate for the <a>current text position</a> for rendering the glyphs that correspond to the first character within this @@ -947,7 +947,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <p> If a comma- or space-separated list of <var>n</var> - <a href="types.html#DataTypeLength"><length></a>s is + <a><length></a>s is provided, then the values represent new absolute X coordinates for the <a>current text position</a> for rendering the glyphs corresponding to each of the first <var>n</var> characters @@ -955,14 +955,14 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <p> If more - <a href="types.html#DataTypeLength"><length></a>s are + <a><length></a>s are provided than characters, then the extra - <a href="types.html#DataTypeLength"><length></a>s will + <a><length></a>s will have no effect on glyph positioning. </p> <p> If more characters exist than - <a href="types.html#DataTypeLength"><length></a>s, + <a><length></a>s, then for each of these extra characters: (a) if an ancestor <a>'text'</a> or <a>'tspan'</a> element @@ -992,7 +992,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-coordinates></a></dd> + <dt>Value</dt> <dd><a><list-of-coordinates></a></dd> <dt><a>Lacuna value</a></dt> <dd>0</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -1010,7 +1010,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-coordinates></a></dd> + <dt>Value</dt> <dd><a><list-of-coordinates></a></dd> <dt><a>Lacuna value</a></dt> <dd>0</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -1023,18 +1023,18 @@ swash forms, old-style figures etc. while also ensuring that a font is provided <p> If a single - <a href="types.html#DataTypeLength"><length></a> is + <a><length></a> is provided, this value represents the new relative X coordinate for the <a>current text position</a> for rendering the glyphs corresponding to the first character within this element or any of its descendants. The <a>current text position</a> is shifted along the x-axis of the current user coordinate system - by <a href="types.html#DataTypeLength"><length></a> + by <a><length></a> before the first character's glyphs are rendered. </p> <p> If a comma- or space-separated list of - <var>n</var> <a href="types.html#DataTypeLength"><length></a>s + <var>n</var> <a><length></a>s is provided, then the values represent incremental shifts along the x-axis for the <a>current text position</a> before rendering the glyphs corresponding to the first <var>n</var> @@ -1044,18 +1044,18 @@ swash forms, old-style figures etc. while also ensuring that a font is provided position</a> resulting from drawing the glyphs for the previous character within the current <a>'text'</a> element is shifted along the X axis of the current user coordinate system - by <a href="types.html#DataTypeLength"><length></a>. + by <a><length></a>. </p> <p> If more - <a href="types.html#DataTypeLength"><length></a>s are + <a><length></a>s are provided than characters, then any extra - <a href="types.html#DataTypeLength"><length></a>s will + <a><length></a>s will have no effect on glyph positioning. </p> <p> If more characters exist than - <a href="types.html#DataTypeLength"><length></a>s, then + <a><length></a>s, then for each of these extra characters: (a) if an ancestor <a>'text'</a> or <a>'tspan'</a> element @@ -1081,7 +1081,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-lengths></a></dd> + <dt>Value</dt> <dd><a><list-of-lengths></a></dd> <dt><a>Lacuna value</a></dt> <dd>See above.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -1099,7 +1099,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><list-of-lengths></a></dd> + <dt>Value</dt> <dd><a><list-of-lengths></a></dd> <dt><a>Lacuna value</a></dt> <dd>See <a>'text/dx'</a> attribute above.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -1116,26 +1116,26 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <p> If a comma- or space-separated list of - <a href="types.html#DataTypeNumber"><number></a>s is + <a><number></a>s is provided, then the first - <a href="types.html#DataTypeNumber"><number></a> + <a><number></a> represents the supplemental rotation for the glyphs corresponding to the first character within this element or any of its descendants, the second - <a href="types.html#DataTypeNumber"><number></a> + <a><number></a> represents the supplemental rotation for the glyphs that correspond to the second character, and so on. </p> <p> If more - <a href="types.html#DataTypeNumber"><number></a>s are + <a><number></a>s are provided than there are characters, then the extra - <a href="types.html#DataTypeNumber"><number></a>s + <a><number></a>s will be ignored. </p> <p> If more characters are provided than - <a href="types.html#DataTypeNumber"><number></a>s, then + <a><number></a>s, then for each of these extra characters the rotation value specified by the last number must be used. </p> @@ -1146,7 +1146,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided given supplemental rotation is applied to the given character (nearest ancestor has precedence). If there are more characters than - <a href="types.html#DataTypeNumber"><number></a>s + <a><number></a>s specified in the ancestor's <a>'rotate'</a> attribute, then for each of these extra characters the rotation value specified by the last number must be used. @@ -1161,7 +1161,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeNumbers"><list-of-numbers></a></dd> + <dt>Value</dt> <dd><a><list-of-numbers></a></dd> <dt><a>Lacuna value</a></dt> <dd>See above.</dd> <dt><a>Animatable</a></dt> <dd>yes (non-additive).</dd> </dl> @@ -1222,7 +1222,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLength"><length></a></dd> + <dt>Value</dt> <dd><a><length></a></dd> <dt><a>Lacuna value</a></dt> <dd>See above.</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> @@ -2271,7 +2271,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </tr> <tr> <th>Value:</th> - <td><a href="types.html#DataTypeLengths"><length></a></td> + <td><a><length></a></td> </tr> <tr> <th>Initial:</th> @@ -4458,8 +4458,8 @@ swash forms, old-style figures etc. while also ensuring that a font is provided <tr> <th>Value:</th> <td>baseline | sub | super - | <a href="types.html#DataTypePercentage"><percentage></a> - | <a href="types.html#DataTypeLength"><length></a> + | <a><percentage></a> + | <a><length></a> </td> </tr> <tr> @@ -5017,7 +5017,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided path</a> algorithm. </p> <p> - If a <a href="types.html#DataTypeLength"><length></a> + If a <a><length></a> other than a percentage is given, then the <a>'startOffset'</a> represents a distance along the path measured in the current user coordinate system.<br /> If a @@ -5030,7 +5030,7 @@ swash forms, old-style figures etc. while also ensuring that a font is provided </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a href="types.html#DataTypeLengths"><length></a></dd> + <dt>Value</dt> <dd><a><length></a></dd> <dt><a>Lacuna value</a></dt> <dd>0</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> diff --git a/master/types.html b/master/types.html index 19a8387..f4be997 100644 --- a/master/types.html +++ b/master/types.html @@ -238,111 +238,6 @@ attributes, including presentation attributes, but not in style sheets.</p> <pre>child-selector ::= select(<a>compound selector</a>#)</pre> </dd> - <dt id='DataTypeColor'><color></dt> - <dd> - <p>The basic type <color> is a CSS 2.1 compatible specification for a - color in the sRGB color space [<a href="refs.html#ref-SRGB">SRGB</a>]. - <color> applies to SVG's use of the <a>'color'</a> property and - is a component of the definitions of properties <a>'fill'</a>, - <a>'stroke'</a>, <a>'stop-color'</a>, <a>'flood-color'</a> and - <a>'lighting-color'</a>, which also offer optional ICC-based color - specifications.</p> - - <p>SVG supports all of the syntax alternatives for <color> defined in - <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#color-units'>CSS 2.1 - syntax and basic data types</a> ([<a href='refs.html#ref-CSS21'>CSS21</a>], - section 4.3.6), with the exception that SVG allows an expanded list of - <a href="types.html#ColorKeywords">recognized color keywords names</a>.</p> - - <p>A <color> is either a keyword (see - <a href="types.html#ColorKeywords">Recognized color keyword names</a>) 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 href='http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#system-colors'>System Colors</a> - ([<a href='refs.html#ref-CSS21'>CSS21</a>], 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, <span class='attr-value'>#fb0</span> - expands to <span class='attr-value'>#ffbb00</span>. This - ensures that white (<span class='attr-value'>#ffffff</span>) can be - specified with the short notation (<span class='attr-value'>#fff</span>) - and removes any dependencies on the color depth of the display.</p> - - <p>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.</p> - - <p>The integer value 255 corresponds to 100%, and to F or FF in the - hexadecimal notation: <span class='attr-value'>rgb(255,255,255)</span> - = <span class='attr-value'>rgb(100%,100%,100%)</span> - = <span class='attr-value'>#FFF</span>. White space characters are allowed - around the numerical values. All RGB colors are specified in the sRGB - color space [<a href="refs.html#ref-SRGB">SRGB</a>]. Using - sRGB provides an unambiguous and objectively measurable definition - of the color, which can be related to international standards - (see [<a href="refs.html#ref-COLORIMETRY">COLORIMETRY</a>]).</p> - - <pre class='grammar'><span id='Color'>color</span> ::= "#" <a href='#HexDigit'>hexdigit</a> <a href='#HexDigit'>hexdigit</a> <a href='#HexDigit'>hexdigit</a> (<a href='#HexDigit'>hexdigit</a> <a href='#HexDigit'>hexdigit</a> <a href='#HexDigit'>hexdigit</a>)? - | "rgb(" <a href='#WSP'>wsp</a>* <a href='#Integer'>integer</a> <a href='#Comma'>comma</a> <a href='#Integer'>integer</a> <a href='#Comma'>comma</a> <a href='#Integer'>integer</a> <a href='#WSP'>wsp</a>* ")" - | "rgb(" <a href='#WSP'>wsp</a>* <a href='#Integer'>integer</a> "%" <a href='#Comma'>comma</a> <a href='#Integer'>integer</a> "%" <a href='#Comma'>comma</a> <a href='#Integer'>integer</a> "%" <a href='#WSP'>wsp</a>* ")" - | <var>color-keyword</var> -<span id='HexDigit'>hexdigit</span> ::= [0-9A-Fa-f] -<span id='Comma'>comma</span> ::= <a href='#WSP'>wsp</a>* "," <a href='#WSP'>wsp</a>* - </pre> - - <p>where <var>color-keyword</var> matches (case insensitively) one of the - color keywords listed in <a href="#ColorKeywords">Recognized color keyword names</a> - below, or one of the system color keywords listed in - <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#system-colors'>System Colors</a> - ([<a href='refs.html#ref-CSS21'>CSS21</a>], section 18.2).</p> - - <p>The corresponding SVG DOM interface definitions for - <color> are defined in - <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html">Document Object Model CSS</a>; - in particular, see <a>RGBColor</a> - ([<a href='refs.html#ref-DOM2STYLE'>DOM2STYLE</a>], section 2.2).</p> - </dd> - - <dt id="DataTypeFrequency"><frequency></dt> - <dd> - <p>Frequency values are used with aural properties. As defined in - CSS 2.1, a frequency value is a <number> immediately followed - by a frequency unit identifier. The frequency unit identifiers - are:</p> - - <ul> - <li><span class="attr-value">Hz</span>: Hertz</li> - <li><span class="attr-value">kHz</span>: kilo Hertz</li> - </ul> - - <p>Frequency values may not be negative.</p> - - <p>In the SVG DOM, <frequency> values are represented - using the <a>CSSPrimitiveValue</a> - interface defined in <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html'>Document Object Model CSS</a> - ([<a href='refs.html#ref-DOM2STYLE'>DOM2STYLE</a>], section 2.2).</p> - </dd> - - <dt id='DataTypeGradient'><gradient></dt> - <dd> - <p> - A gradient as defined by CSS Level 3 Image - Values [<a href='refs.html#ref-CSS3IMAGES'>CSS3IMAGES</a>] and can be used - as paint server for the properties <a>'fill'</a> and <a>'stroke'</a>. Percentage values get resolved - against the bounding box of the element to which the gradient is applied. - </p> - </dd> - <dt id='DataTypeICCColor'><icccolor></dt> <dd> <p>An <icccolor> is an ICC color specification. In SVG 1.1, @@ -352,92 +247,10 @@ attributes, including presentation attributes, but not in style sheets.</p> <pre class='grammar'><span id='ICCColor'>icccolor</span> ::= "icc-color(" author-ident (<a href='#CommaWSP'>comma-wsp</a> <a href='#Number'>number</a>)+ ")"</pre> </dd> - - <dt id='DataTypeImage'><image></dt> - <dd> - <p> - An image source (including gradients) as defined by CSS Level 4 Image - Values ([<a href='refs.html#ref-CSS4IMAGES'>CSS4IMAGES</a>], section 4.3). - </p> - </dd> - - <dt id='DataTypeInteger'><integer></dt> - <dd> - <p>An <integer> is specified as an optional sign character ("+" or - "-") followed by one or more digits "0" to "9", optionally surrounded by whitespace:</p> - - <pre class='grammar'><span id='Integer'>integer</span> ::= <a href='#WSP'>wsp</a>* [+-]? [0-9]+ <a href='#WSP'>wsp</a>*</pre> - - <p>If the sign character is not present, the number is non-negative.</p> - - <p>Unless stated otherwise for a particular attribute or - <a>property</a>, the range for an <integer> encompasses (at a - minimum) -2147483648 to 2147483647.</p> - - <p>Within the SVG DOM, an <integer> is represented as a - <span class="DOMInterfaceName">long</span> or an - <a>SVGAnimatedInteger</a>.</p> - </dd> <dt id="DataTypeLanguageID"><languageID></dt> <dd>A language identifier specifies the language of text or other items in SVG. The syntax is given by [<a href='refs.html#ref-BCP47'>BCP47</a>].</dd> - - - <dt id="DataTypeLength"><length></dt> - <dd> - <p>A length is a distance measurement, given as a number along with a unit - which may be optional. Lengths are specified in one of two ways depending - upon whether they are used in CSS <a>property</a> syntax or SVG - <a>presentation attribute</a> syntax:</p> - - <ul> - <li> - <p>When a <length> is used in a style sheet or with a - <a>property</a> in a <a>'style attribute'</a> attribute, the - syntax must match the following pattern:</p> - - <pre class='grammar'><span id='Length'>length</span> ::= <a href='#DataTypeNumber'>number</a> (~"em" | ~"ex" | ~"px" | ~"in" | ~"cm" | ~"mm" | ~"pt" | ~"pc")?</pre> - - <p><a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#length-units'>See - the CSS 2.1 specification</a> for the meanings of the unit - identifiers. The unit identifier may be in lower (recommended) - or upper case.</p> - - <p>For properties defined in CSS 2.1 - [<a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">CSS21</a>], - a length unit identifier must be provided (for non-zero values). - For SVG-specific <a>properties</a>, the length unit identifier - is optional. If a unit is not provided, the length value - represents a distance in the current user coordinate system.</p> - </li> - <li> - <p>When a <length> is used in an SVG <a>presentation attribute</a>, - the syntax must match the following pattern:</p> - <pre class='grammar'>length ::= <a href='#WSP'>wsp</a>* <a href='#DataTypeNumber'>number</a> ("em" | "ex" | "px" | "in" | "cm" | "mm" | "pt" | "pc" | "%")? <a href='#WSP'>wsp</a>*</pre> - <p>The unit identifier, if present, must be in lower case; if - not present, the length value represents a distance in the - current user coordinate system.</p> - - <p>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: (a) when a percentage length value represents a percentage - of the viewport width or height (refer to <a - href='coords.html#Units'>the section that discusses units in - general</a>), and (b) when a percentage length value represents - a percentage of the bounding box width or height on a given - object (refer to <a href='coords.html#ObjectBoundingBox'>the - section that describes object bounding box units</a>).</p> - </li> - </ul> - - <p>In the SVG DOM, <length> values are represented using - <a>SVGLength</a> or <a>SVGAnimatedLength</a> objects.</p> - - <p class='issue'>We should disentangle lengths and percentages.</p> - </dd> <dt id="DataTypeListOfFamilyNames"><list-of-family-names></dt> <dd>A <list-of-family-names> is a list of font family names using the same syntax @@ -501,29 +314,6 @@ string ::= [^#x9#x20#xA#xC#xD]* is represented in the SVG DOM using an <a>SVGLengthList</a> or <a>SVGAnimatedLengthList</a> object.</p> </dd> - - <dt id='DataTypeNumber'><number></dt> - <dd> - <p>Real numbers are specified in one of two ways. When used in a style sheet, - a <number> is defined as follows:</p> - - <pre class='grammar'><span id='Number'>number</span> ::= <a href='#Integer'>integer</a> - | [+-]? [0-9]* "." [0-9]+</pre> - - <p>This syntax is the same as the definition in CSS - ([<a href='refs.html#ref-CSS21'>CSS21</a>], section 4.3.1).</p> - - <p>When used in an SVG attribute, - a <number> is defined differently, to allow numbers with large magnitudes - to be specified more concisely:</p> - - <pre class='grammar'>number ::= <a href='#WSP'>wsp</a>* <a href='#Integer'>integer</a> ([Ee] <a href='#DataTypeInteger'>integer</a>)? - | [+-]? [0-9]* "." [0-9]+ ([Ee] <a href='#DataTypeInteger'>integer</a>)? <a href='#WSP'>wsp</a>*</pre> - - <p>Within the SVG DOM, a <number> is represented as a - <span class="DOMInterfaceName">float</span>, <a>SVGNumber</a> or a - <a>SVGAnimatedNumber</a>.</p> - </dd> <dt id='DataTypeNumberOptionalNumber'><number-optional-number></dt> <dd> @@ -531,72 +321,14 @@ string ::= [^#x9#x20#xA#xC#xD]* <a><number></a> is optional.</p> <pre class='grammar'> -number-optional-number ::= <a href='#WSP'>wsp</a>* <a href='#DataTypeNumber'>number</a> <a href='#WSP'>wsp</a>* - | <a href='#WSP'>wsp</a>* <a href='#DataTypeNumber'>number</a> <a href='#CommaWSP'>comma-wsp</a> <a href='#DataTypeNumber'>number</a> <a href='#WSP'>wsp</a>*</pre> +number-optional-number ::= <a href='#WSP'>wsp</a>* <a><number></a> <a href='#WSP'>wsp</a>* + | <a href='#WSP'>wsp</a>* <a><number></a> <a href='#CommaWSP'>comma-wsp</a> <a><number></a> <a href='#WSP'>wsp</a>*</pre> <p>In the SVG DOM, a <number-optional-number> is represented using a pair of <a>SVGAnimatedInteger</a> or <a>SVGAnimatedNumber</a> objects.</p> </dd> - <dt id="DataTypePaint"><paint></dt> - <dd> - <p>The values for properties <a>'fill'</a> and <a>'stroke'</a> - 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 - <a href="painting.html#SpecifyingPaint">Specifying paint</a>.</p> - </dd> - - <dt id="DataTypePercentage"><percentage></dt> - <dd> - <p>Percentages are specified as a number followed by a "%" character:</p> - - <pre class='grammar'><span id='Percentage'>percentage</span> ::= <a href='#WSP'>wsp</a>* <a href='#NumberStrict'>number</a> "%" <a href='#WSP'>wsp</a>*</pre> - - <p>Note that the definition of <a href='#Number'><number></a> depends - on whether the percentage is specified in a style sheet or in an - attribute that is not also a <a>presentation attribute</a>.</p> - - <p>Percentage values are always relative to another value, for example a - length. Each attribute or <a>property</a> that allows percentages also - defines the reference distance measurement to which the percentage - refers.</p> - - <p>Within the SVG DOM, a <percentage> is - represented using an <a>SVGNumber</a> or <a>SVGAnimatedNumber</a> - object.</p> - </dd> - - <dt id='DataTypeTime'><time></dt> - <dd> - <p>A time value is a <number> immediately followed by a time unit - identifier. The time unit identifiers are: </p> - - <ul> - <li><span class="attr-value">ms</span>: milliseconds</li> - <li><span class="attr-value">s</span>: seconds</li> - </ul> - - <p>In the SVG DOM, <time> values are represented - using the <a>CSSPrimitiveValue</a> - interface defined in <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html'>Document Object Model CSS</a> - ([<a href='refs.html#ref-DOM2STYLE'>DOM2STYLE</a>], section 2.2).</p> - </dd> - - <dt id="DataTypeTransformList"><transform-list></dt> - <dd> - <p>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 - <a href="coords.html#TransformProperty">Modifying the User Coordinate - System: the transform property</a>.</p> - - <p>Within the SVG DOM, a <transform-list> value is represented using - an <a>SVGTransformList</a> or <a>SVGAnimatedTransformList</a> - object.</p> - </dd> - <!-- <dt id="DataTypeURI"><uri></dt> <dd> @@ -646,8 +378,7 @@ floating point for intermediate calculations on certain numerical operations.</p <h2 id="ColorKeywords">Recognized color keyword names</h2> <p>The following is the list of recognized color keywords that -can be used as a keyword value for data type <a -href="types.html#DataTypeColor"><color></a>:</p> +can be used as a keyword value for data type <a><color></a>:</p> <table class="color-keywords"> <tr> @@ -2019,7 +1750,7 @@ same value as <a>baseVal</a>. <h3 id="InterfaceSVGAnimatedInteger">Interface SVGAnimatedInteger</h3> <p>Used for attributes of basic type -<a href="types.html#DataTypeInteger"><integer></a> which can be +<a><integer></a> which can be animated.</p> <pre class="idl">interface <b>SVGAnimatedInteger</b> { @@ -2059,7 +1790,7 @@ same value as <a>baseVal</a>. <h3 id="InterfaceSVGNumber">Interface SVGNumber</h3> <p>Used for attributes of basic type -<a href="types.html#DataTypeNumber"><number></a>.</p> +<a><number></a>.</p> <pre class="idl">[<a href="#__svg__SVGNumber__constructor">Constructor</a>, <a href="#__svg__SVGNumber__constructor1">Constructor</a>(float value)] @@ -2092,7 +1823,7 @@ interface <b>SVGNumber</b> { <h3 id="InterfaceSVGAnimatedNumber">Interface SVGAnimatedNumber</h3> <p>Used for attributes of basic type -<a href="types.html#DataTypeNumber"><number></a> which can be +<a><number></a> which can be animated.</p> <pre class="idl">interface <b>SVGAnimatedNumber</b> { @@ -2553,8 +2284,8 @@ the attribute is not animated. <h3 id="InterfaceSVGLength">Interface SVGLength</h3> <p>The <a>SVGLength</a> interface corresponds to the -<a href="types.html#DataTypeLength"><length></a> and -<a href="types.html#DataTypePercentage"><percentage></a> basic data types, +<a><length></a> and +<a><percentage></a> basic data types, and represents a length or percentage that consists of a numerical factor and a unit, where the unit is one of the set of units described in <a href="coords.html#Units">Units</a> (em, ex, px, pt, pc, cm, mm and in), @@ -2844,7 +2575,7 @@ interface <b>SVGLength</b> { </div> <p>Used for attributes of basic type -<a href="types.html#DataTypeLength"><length></a> which can be +<a><length></a> which can be animated.</p> <pre class="idl">interface <b>SVGAnimatedLength</b> { ============================================================ /home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --list-pages /home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build Overview toc intro concepts render types struct styling layout coords paths shapes text embedded painting color pservers masking filters interact linking script animate metadata backward extend svgdom idl implnote conform access i18n minimize refs eltindex attindex propidx idlindex feature mimereg changes /home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build-single-page
Received on Monday, 1 September 2014 11:23:56 UTC