- From: SVG Working Group repository <cam@mcc.id.au>
- Date: Thu, 17 Jan 2013 21:15:55 -0800
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/ab020852f879 branches: changeset: 426:ab020852f879 user: Cameron McCormack <cam@mcc.id.au> date: Fri Jan 18 16:14:02 2013 +1100 description: Change all <coordinate> types to <length> in preparation for referencing css3-values. diffstat: master/animate.html | 13 +------------ master/definitions.xml | 1 - master/extend.html | 4 ++-- master/interact.html | 4 ++-- master/painting.html | 2 +- master/pservers.html | 28 ++++++++++++++-------------- master/shapes.html | 20 ++++++++++---------- master/struct.html | 6 +++--- master/text.html | 28 ++++++++++++++-------------- master/types.html | 20 +------------------- 10 files changed, 48 insertions(+), 78 deletions(-) diffs (809 lines): diff --git a/master/animate.html b/master/animate.html --- a/master/animate.html +++ b/master/animate.html @@ -495,18 +495,17 @@ is a list of scalars (1-dimensional vect the <a href="shapes.html#PolygonElementPointsAttribute"><span class="attr-name">'points'</span></a> attribute on a <a href="shapes.html#PolygonElement"><span class="element-name">'polygon'</span></a>) is a list of 2-dimensional vectors. Therefore, these types do not have a 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#DataTypeCoordinate"><coordinate></a>, - <a href="types.html#DataTypeInteger"><integer></a>, + <dt><a href="types.html#DataTypeInteger"><integer></a>, <a href="types.html#DataTypeLength"><length></a> and <a href="types.html#DataTypeNumber"><number></a></dt> <dd> <p>distance(V<sub>a</sub>, V<sub>b</sub>) = |V<sub>a</sub> − V<sub>b</sub>|</p> <p> Examples: animating the <a>'rect/x'</a> attribute on a <a>'rect'</a>, or the @@ -2260,26 +2259,16 @@ is not possible.</p> <td>yes</td> <td>yes</td> <td>yes</td> <td>no</td> <td>Only additive if each value can be converted to an RGB color.</td> </tr> <tr> <th><a - href="types.html#DataTypeCoordinate"><coordinate></a></th> - <td>yes</td> - <td>yes</td> - <td>yes</td> - <td>no</td> - <td>no</td> - <td> </td> - </tr> - <tr> - <th><a href="types.html#DataTypeFrequency"><frequency></a></th> <td>no</td> <td>no</td> <td>no</td> <td>no</td> <td>no</td> <td> </td> </tr> diff --git a/master/definitions.xml b/master/definitions.xml --- a/master/definitions.xml +++ b/master/definitions.xml @@ -1153,17 +1153,16 @@ <interface name='SVGForeignObjectElement' href='extend.html#InterfaceSVGForeignObjectElement'/> <interface name='SVGSolidColorElement' href='pservers.html#InterfaceSVGSolidColorElement'/> <!-- ... 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='child-selector' href='types.html#DataTypeChildSelector'/> - <symbol name='coordinate' href='types.html#DataTypeCoordinate'/> <symbol name='dasharray' href='painting.html#DataTypeDasharray'/> <symbol name='frequency' href='types.html#DataTypeFrequency'/> <symbol name='gradient' href='types.html#DataTypeGradient'/> <symbol name='icccolor' href='types.html#DataTypeICCColor'/> <symbol name='image' href='types.html#DataTypeImage'/> <symbol name='integer' href='types.html#DataTypeInteger'/> <symbol name='knockout-offset' href="painting.html#DataTypeKnockoutOffset"/> <symbol name='knockout-shape' href="painting.html#DataTypeKnockoutShape"/> diff --git a/master/extend.html b/master/extend.html --- a/master/extend.html +++ b/master/extend.html @@ -121,29 +121,29 @@ available.</p> <edit:with element='foreignObject'> <edit:elementsummary name='foreignObject'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="ForeignObjectElementXAttribute"><span class="adef">x</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The x-axis coordinate of one corner of the rectangular region into which the graphics associated with the contents of the <a>'foreignObject'</a> will be rendered.<br /> If the attribute is not specified, the effect is as if a value of <span class='attr-value'>'0'</span> were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="ForeignObjectElementYAttribute"><span class="adef">y</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The y-axis coordinate of one corner of the rectangular region into which the referenced document is placed.<br /> If the attribute is not specified, the effect is as if a value of <span class='attr-value'>'0'</span> were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="ForeignObjectElementWidthAttribute"><span diff --git a/master/interact.html b/master/interact.html --- a/master/interact.html +++ b/master/interact.html @@ -1073,28 +1073,28 @@ that the cursor can be visible over most <edit:elementsummary name='cursor'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="CursorElementXAttribute"><span class="adef">x</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The <em>x-coordinate</em> of the position in the cursor's coordinate system which represents the precise position that is being pointed to.<br /> If the attribute is not specified, the effect is as if a value of <span class='attr-value'>'0'</span> were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="CursorElementYAttribute"><span class="adef">y</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The <em>y-coordinate</em> of the position in the cursor's coordinate system which represents the precise position that is being pointed to.<br /> If the attribute is not specified, the effect is as if a value of <span class='attr-value'>'0'</span> were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> diff --git a/master/painting.html b/master/painting.html --- a/master/painting.html +++ b/master/painting.html @@ -1882,17 +1882,17 @@ for either attribute is an error (see <tr> <th>Name</th> <th>Value</th> <th>Lacuna value</th> <th>Animatable</th> </tr> <tr> <td><dfn id="MarkerElementRefXAttribute">refX</dfn>, <dfn id="MarkerElementRefYAttribute">refY</dfn></td> - <td><a><coordinate></a></td> + <td><a><length></a></td> <td>0</td> <td>yes</td> </tr> </table> </dt> <dd> diff --git a/master/pservers.html b/master/pservers.html --- a/master/pservers.html +++ b/master/pservers.html @@ -432,61 +432,61 @@ in the stops. This is discussed in detai gradient. This <em>gradient vector</em> provides starting and ending points onto which the <a href="#GradientStops">gradient stops</a> are mapped. The values of <a>'x1'</a>, <a>'y1'</a>, <a>'x2'</a> and <a>'y2'</a> can be either numbers or percentages. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></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> </dd> <dt id="LinearGradientElementY1Attribute"><span class="adef">y1</span></dt> <dd> <p> See <a>'x1'</a>. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></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> </dd> <dt id="LinearGradientElementX2Attribute"><span class="adef">x2</span></dt> <dd> <p> See <a>'x1'</a>. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></a></dd> + <dt>Value</dt> <dd><a><length></a></dd> <dt><a>Lacuna value</a></dt> <dd>100%</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> </dd> <dt id="LinearGradientElementY2Attribute"><span class="adef">y2</span></dt> <dd> <p> See <a>'x1'</a>. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></a></dd> + <dt>Value</dt> <dd><a><length></a></dd> <dt><a>Lacuna value</a></dt> <dd>100%</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> <p class="issue">SVG 1.1 2nd edition has lacuna value="0%".</p> </dd> <dt id="LinearGradientElementSpreadMethodAttribute"> <span class="adef">spreadMethod</span> @@ -724,47 +724,47 @@ shows how to fill a rectangle by referen <dt><a>Lacuna value</a></dt> <dd>identity transform</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> </dd> <dt id="RadialGradientElementCXAttribute"> <span class="adef">cx</span> = - "<span class="attr-value"><a><coordinate></a></span>" + "<span class="attr-value"><a><length></a></span>" </dt> <dd> <p> <a>'cx'</a>, <a>'cy'</a> and <a>'r'</a> define the end circle for the radial gradient. The gradient will be drawn such that the 100% <a href="#GradientStops">gradient stop</a> is mapped to the perimeter of this end circle. </p> <dl class="attrdef-svg2"> -<!-- <dt>Value</dt> <dd><a><coordinate></a></dd> --> +<!-- <dt>Value</dt> <dd><a><length></a></dd> --> <dt><a>Lacuna value</a></dt> <dd>50%</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> </dd> <dt id="RadialGradientElementCYAttribute"> <span class="adef">cy</span> = - "<span class="attr-value"><a><coordinate></a></span>" + "<span class="attr-value"><a><length></a></span>" </dt> <dd> <p> See <a>'cx'</a>. </p> <dl class="attrdef-svg2"> -<!-- <dt>Value</dt> <dd><a><coordinate></a></dd> --> +<!-- <dt>Value</dt> <dd><a><length></a></dd> --> <dt><a>Lacuna value</a></dt> <dd>50%</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> </dd> <dt id="RadialGradientElementRAttribute"> <span class="adef">r</span> = @@ -787,17 +787,17 @@ shows how to fill a rectangle by referen <dt><a>Lacuna value</a></dt> <dd>50%</dd> <dt><a>Animatable</a></dt> <dd>yes</dd> </dl> </dd> <dt id="RadialGradientElementFXAttribute"> <span class="adef">fx</span> = - "<span class="attr-value"><a><coordinate></a></span>" + "<span class="attr-value"><a><length></a></span>" </dt> <dd> <p> <a>'fx'</a>, <a>'fy'</a>, and <a>'fr'</a> define the start circle for the radial gradient. The gradient will be drawn such that the 0% <a href="#GradientStops">gradient stop</a> is mapped @@ -835,17 +835,17 @@ shows how to fill a rectangle by referen circle is painted with the first <a>'stop-color'</a>. </p> </div> </dd> <dt id="RadialGradientElementFYAttribute"> <span class="adef">fy</span> = - "<span class="attr-value"><a><coordinate></a></span>" + "<span class="attr-value"><a><length></a></span>" </dt> <dd> <p> See <a>'fx'</a>. </p> <dl class="attrdef-svg2"> @@ -1620,47 +1620,47 @@ and <em>n</em>.</p> indicate how the pattern tiles are placed and spaced. These attributes represent coordinates and values in the coordinate space specified by the combination of attributes <a>'patternUnits'</a> and <a>'patternTransform'</a>. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></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> </dd> <dt id="PatternElementYAttribute"><span class="adef">y</span></dt> <dd> <p> See <a>'x'</a>. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></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> </dd> <dt id="PatternElementWidthAttribute"><span class="adef">width</span></dt> <dd> <p> See <a>'x'</a>. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></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> <p> A negative value is an error (see <a href="implnote.html#ErrorProcessing">Error processing</a>). A value of zero disables rendering of the @@ -1672,17 +1672,17 @@ and <em>n</em>.</p> <dt id="PatternElementHeightAttribute"><span class="adef">height</span></dt> <dd> <p> See <a>'x'</a>. </p> <dl class="attrdef-svg2"> - <dt>Value</dt> <dd><a><coordinate></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> <p> A negative value is an error (see <a href="implnote.html#ErrorProcessing">Error processing</a>). A value of zero disables rendering of the element (i.e., no paint is applied). diff --git a/master/shapes.html b/master/shapes.html --- a/master/shapes.html +++ b/master/shapes.html @@ -106,28 +106,28 @@ appropriate values for attributes <a>'rx --> <edit:elementsummary name='rect'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="RectElementXAttribute"><span class="adef">x</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The x-axis coordinate of the side of the rectangle which has the smaller x-axis coordinate value in the current user coordinate system.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="RectElementYAttribute"><span class="adef">y</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The y-axis coordinate of the side of the rectangle which has the smaller y-axis coordinate value in the current user coordinate system.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> @@ -307,27 +307,27 @@ radius.</p> <edit:elementsummary name='circle'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="CircleElementCXAttribute"><span class="adef">cx</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The x-axis coordinate of the center of the circle.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="CircleElementCYAttribute"><span class="adef">cy</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The y-axis coordinate of the center of the circle.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="CircleElementRAttribute"><span @@ -371,27 +371,27 @@ with the current <a>user coordinate syst <edit:elementsummary name='ellipse'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="EllipseElementCXAttribute"><span class="adef">cx</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The x-axis coordinate of the center of the ellipse.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="EllipseElementCYAttribute"><span class="adef">cy</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The y-axis coordinate of the center of the ellipse.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="EllipseElementRXAttribute"><span @@ -444,44 +444,44 @@ and ends at another.</p> <edit:elementsummary name='line'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="LineElementX1Attribute"><span class="adef">x1</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The x-axis coordinate of the start of the line.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="LineElementY1Attribute"><span class="adef">y1</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The y-axis coordinate of the start of the line.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="LineElementX2Attribute"><span class="adef">x2</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The x-axis coordinate of the end of the line.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="LineElementY2Attribute"><span class="adef">y2</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinate"><coordinate></a></span>"</dt> + href="types.html#DataTypeLength"><length></a></span>"</dt> <dd>The y-axis coordinate of the end of the line.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> </dl> </div> diff --git a/master/struct.html b/master/struct.html --- a/master/struct.html +++ b/master/struct.html @@ -341,17 +341,17 @@ create SVG fragments.</p> <tr> <th>Name</th> <th>Value</th> <th>Lacuna value</th> <th>Animatable</th> </tr> <tr> <td><dfn id="SVGElementXAttribute">x</dfn>, <dfn id="SVGElementYAttribute">y</dfn></td> - <td><a><coordinate></a></td> + <td><a><length></a></td> <td>0</td> <td>yes</td> </tr> </table> </dt> <dd> <p>The <a>'x'</a> and <a>'y'</a> attributes specify the top-left corner of the rectangular region into which an @@ -1335,17 +1335,17 @@ href="#Head">References and the <span cl <tr> <th>Name</th> <th>Value</th> <th>Lacuna value</th> <th>Animatable</th> </tr> <tr> <td><dfn id="UseElementXAttribute">x</dfn>, <dfn id="UseElementYAttribute">y</dfn></td> - <td><a><coordinate></a></td> + <td><a><length></a></td> <td>0</td> <td>yes</td> </tr> <tr> <td><dfn id="UseElementWidthAttribute">width</dfn>, <dfn id="UseElementHeightAttribute">height</dfn></td> <td><a><length></a></td> <td>(see prose)</td> <td>yes</td> @@ -1555,17 +1555,17 @@ elements within an SVG file.</p> <tr> <th>Name</th> <th>Value</th> <th>Lacuna value</th> <th>Animatable</th> </tr> <tr> <td><dfn id="ImageElementXAttribute">x</dfn>, <dfn id="ImageElementYAttribute">y</dfn></td> - <td><a><coordinate></a></td> + <td><a><length></a></td> <td>0</td> <td>yes</td> </tr> <tr> <td><dfn id="ImageElementWidthAttribute">width</dfn>, <dfn id="ImageElementHeightAttribute">height</dfn></td> <td><a><length></a></td> <td>0</td> <td>yes</td> diff --git a/master/text.html b/master/text.html --- a/master/text.html +++ b/master/text.html @@ -459,43 +459,43 @@ placement and glyph advance.</p> <edit:elementsummary name='text'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="TextElementXAttribute"><span class="adef">x</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinates"><list-of-coordinates></a></span>"</dt> + href="types.html#DataTypeLengths"><list-of-coordinates></a></span>"</dt> <dd>If a single <a - href="types.html#DataTypeCoordinate"><coordinate></a> + href="types.html#DataTypeLength"><length></a> is provided, then the value represents the new absolute X coordinate for the <a href="text.html#CurrentTextPosition">current text position</a> for rendering the glyphs that correspond to the first character within this element or any of its descendants.<br /> If a comma- or space-separated list of <var>n</var> <a - href="types.html#DataTypeCoordinate"><coordinate></a>s + href="types.html#DataTypeLength"><length></a>s is provided, then the values represent new absolute X coordinates for the <a href="text.html#CurrentTextPosition">current text position</a> for rendering the glyphs corresponding to each of the first <var>n</var> characters within this element or any of its descendants.<br /> For additional processing rules, refer to the description of the <a>'tspan/x'</a> attribute on the <a>'tspan'</a> element.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="TextElementYAttribute"><span class="adef">y</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinates"><list-of-coordinates></a></span>"</dt> + href="types.html#DataTypeLengths"><list-of-coordinates></a></span>"</dt> <dd>The corresponding list of absolute Y coordinates for the glyphs corresponding to the characters within this element. The processing rules for the <a>'y'</a> attribute parallel the processing rules for the <a>'x'</a> attribute.<br /> If the attribute is not specified, the effect is as if a value of "0" were specified.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: @@ -676,40 +676,40 @@ adjusted with absolute or relative coord <edit:elementsummary name='tspan'/> <div class="adef-list"> <p><em>Attribute definitions:</em></p> <dl> <dt id="TSpanElementXAttribute"><span class="adef">x</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinates"><list-of-coordinates></a></span>"</dt> + href="types.html#DataTypeLengths"><list-of-coordinates></a></span>"</dt> <dd>If a single <a - href="types.html#DataTypeCoordinate"><coordinate></a> + href="types.html#DataTypeLength"><length></a> is provided, then the value represents the new absolute X coordinate for the <a href="text.html#CurrentTextPosition">current text position</a> for rendering the glyphs that correspond to the first character within this element or any of its descendants.<br /> If a comma- or space-separated list of <var>n</var> <a - href="types.html#DataTypeCoordinate"><coordinate></a>s + href="types.html#DataTypeLength"><length></a>s is provided, then the values represent new absolute X coordinates for the <a href="text.html#CurrentTextPosition">current text position</a> for rendering the glyphs corresponding to each of the first <var>n</var> characters within this element or any of its descendants.<br /> If more <a - href="types.html#DataTypeCoordinate"><coordinate></a>s + href="types.html#DataTypeLength"><length></a>s are provided than characters, then the extra <a - href="types.html#DataTypeCoordinate"><coordinate></a>s + href="types.html#DataTypeLength"><length></a>s will have no effect on glyph positioning.<br /> If more characters exist than <a - href="types.html#DataTypeCoordinate"><coordinate></a>s, + href="types.html#DataTypeLength"><length></a>s, then for each of these extra characters: (a) if an ancestor <a>'text'</a> or <a>'tspan'</a> element specifies an absolute X coordinate for the given character via an <span class="attr-name">'x'</span> attribute, then that absolute X coordinate is used as the starting X coordinate for that character (nearest ancestor has precedence), else (b) the starting X coordinate for rendering the glyphs corresponding to the given character is the X coordinate of @@ -728,17 +728,17 @@ adjusted with absolute or relative coord href="text.html#CurrentTextPosition">current text position</a> from the most recently rendered glyph for the current <a>'text'</a> element.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="TSpanElementYAttribute"><span class="adef">y</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinates"><list-of-coordinates></a></span>"</dt> + href="types.html#DataTypeLengths"><list-of-coordinates></a></span>"</dt> <dd>The corresponding list of absolute Y coordinates for the glyphs corresponding to the characters within this element. The processing rules for the <a>'y'</a> attribute parallel the processing rules for the <a>'x'</a> attribute.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="TSpanElementDXAttribute"><span @@ -4126,19 +4126,19 @@ render particular character data.</p> attribute on the <a>'glyphRef element'</a> element.) <span class="issue">This refers to CSS 2; it needs to be reviewed against the formats described by CSS3 Fonts.</span><br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</span></dd> <dt id="AltGlyphElementXAttribute"><span class="adef">x</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinates"><list-of-coordinates></a></span>"</dt> + href="types.html#DataTypeLengths"><list-of-coordinates></a></span>"</dt> <dd>The <a - href="types.html#DataTypeCoordinate"><coordinate></a> + href="types.html#DataTypeLength"><length></a> values are processed in the same manner as the <a>'tspan/x'</a> attribute on the <a>'tspan'</a> element, with the following exception: If the referenced alternate glyphs are rendered instead of the Unicode characters inside the <a>'altGlyph'</a> element, then any absolute X coordinates specified via an <a>'x'</a> attribute on this element or any ancestor <a>'text'</a> or <a>'tspan'</a> elements for Unicode characters 2 through <var>n</var> within the <a>'altGlyph'</a> element are ignored. @@ -4149,17 +4149,17 @@ render particular character data.</p> href="text.html#CurrentTextPosition">current text position</a> before rendering the first alternate glyph.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="AltGlyphElementYAttribute"><span class="adef">y</span> = "<span class="attr-value"><a - href="types.html#DataTypeCoordinates"><list-of-coordinates></a></span>"</dt> + href="types.html#DataTypeLengths"><list-of-coordinates></a></span>"</dt> <dd>The corresponding absolute Y coordinates for rendering the <a>'altGlyph'</a> element.<br /> <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: yes.</span></dd> <dt id="AltGlyphElementDXAttribute"><span class="adef">dx</span> = "<span class="attr-value"><a diff --git a/master/types.html b/master/types.html --- a/master/types.html +++ b/master/types.html @@ -301,34 +301,16 @@ attributes, including presentation attri defined. Typically only the first matching element in <a>tree order</a> (as defined in [<a href="refs.html#ref-DOM4">DOM4</a>]) as a result of evaluating the list of selectors is used. </p> <pre>child-selector ::= select(<a>compound selector</a>#)</pre> </dd> - <dt id='DataTypeCoordinate'><coordinate></dt> - <dd> - <p class="issue">Do we need this separate data type? Why not just - <a><length></a> in all the places we currently use <a><coordinate></a>?</p> - - <p>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 - <a href='#DataTypeLength'><length></a>.</p> - - <pre>coordinate ::= <a href='#Length'>length</a></pre> - - <p>Within the SVG DOM, a <coordinate> is represented as - an <a>SVGLength</a> or an <a>SVGAnimatedLength</a>.</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> @@ -490,17 +472,17 @@ list-of-strings ::= string string ::= [^#x9#xA#xD#x20]* wsp ::= [#x9#xA#xD#x20]+ </pre> </dd> <dt id='DataTypeList'> <span id='DataTypeListOfIRI'> <span id='DataTypeNumbers'> - <span id='DataTypeCoordinates'> + <span id='DataTypeLengths'> <span id='DataTypeLengths'> <span class='SVG-Term'><list-of-<var>T</var>s></span> </span> </span> </span> </span> </dt> <dd>
Received on Friday, 18 January 2013 05:16:18 UTC