Skip to content

Commit

Permalink
Remove some more unused or duplicated type definitions from other spe…
Browse files Browse the repository at this point in the history
…cifications.
  • Loading branch information
dirkschulze committed Sep 1, 2014
1 parent 6efadbe commit ac1040e
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 370 deletions.
38 changes: 17 additions & 21 deletions master/animate.html
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ <h3 id="complexDistances">Paced animation and complex types</h3>
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">&lt;length&gt;</a>), colors
<a>&lt;length&gt;</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>
Expand All @@ -515,11 +515,11 @@ <h3 id="complexDistances">Paced animation and complex types</h3>
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">&lt;length&gt;</a> value is a scalar
value, and a <a href="types.html#DataTypeColor">&lt;color&gt;</a> value
<a>&lt;length&gt;</a> value is a scalar
value, and a <a>&lt;color&gt;</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">&lt;list-of-length&gt;</a>
<a>&lt;list-of-lengths&gt;</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">&lt;list-of-points&gt;</a> (as used by
Expand All @@ -531,9 +531,9 @@ <h3 id="complexDistances">Paced animation and complex types</h3>
<p>The distance functions for types that support paced animation are as follows:</p>

<dl class='indented'>
<dt><a href="types.html#DataTypeInteger">&lt;integer&gt;</a>,
<a href="types.html#DataTypeLength">&lt;length&gt;</a> and
<a href="types.html#DataTypeNumber">&lt;number&gt;</a></dt>
<dt><a>&lt;integer&gt;</a>,
<a>&lt;length&gt;</a> and
<a>&lt;number&gt;</a></dt>
<dd>
<p>distance(V<sub>a</sub>, V<sub>b</sub>) = |V<sub>a</sub> − V<sub>b</sub>|</p>
<p>
Expand All @@ -545,7 +545,7 @@ <h3 id="complexDistances">Paced animation and complex types</h3>
</p>
</dd>

<dt><a href="types.html#DataTypeColor">&lt;color&gt;</a></dt>
<dt><a>&lt;color&gt;</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'>
Expand All @@ -558,7 +558,7 @@ <h3 id="complexDistances">Paced animation and complex types</h3>
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">&lt;color&gt;</a> values
<a>&lt;color&gt;</a> values
may specify colors outside of the sRGB gamut, these component
values may lie outside the range [0, 1].
</p>
Expand Down Expand Up @@ -590,7 +590,7 @@ <h3 id="complexDistances">Paced animation and complex types</h3>
</div>
<p>
Note that, as when specifying scale transformations in a
<a href="types.html#DataTypeTransformList">&lt;transform-list&gt;</a>, if the
<a>&lt;transform-list&gt;</a>, if the
<var>y</var> component of the scale is omitted it is implicitly equal
to the <var>x</var> component.
</p>
Expand Down Expand Up @@ -2011,7 +2011,7 @@ <h3 id="AnimateMotionElement">The <span class="element-name">'animateMotion'</sp
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>&lt;length&gt;</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>

Expand Down Expand Up @@ -2525,26 +2525,23 @@ <h3 id="AnimationAttributesAndProperties">Elements, attributes and properties th
<td>&nbsp;</td>
</tr>
<tr>
<th><a
href="types.html#DataTypeColor">&lt;color&gt;</a></th>
<th><a>&lt;color&gt;</a></th>
<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#DataTypeFrequency">&lt;frequency&gt;</a></th>
<th><a>&lt;frequency&gt;</a></th>
<td>no</td>
<td>no</td>
<td>no</td>
<td>no</td>
<td>&nbsp;</td>
</tr>
<tr>
<th><a
href="types.html#DataTypeInteger">&lt;integer&gt;</a></th>
<th><a>&lt;integer&gt;</a></th>
<td>yes</td>
<td>yes</td>
<td>yes</td>
Expand Down Expand Up @@ -2576,8 +2573,7 @@ <h3 id="AnimationAttributesAndProperties">Elements, attributes and properties th
<td>&nbsp;</td>
</tr>
<tr>
<th><a
href="types.html#DataTypePaint">&lt;paint&gt;</a></th>
<th><a>&lt;paint&gt;</a></th>
<td>yes</td>
<td>yes</td>
<td>yes</td>
Expand All @@ -2593,15 +2589,15 @@ <h3 id="AnimationAttributesAndProperties">Elements, attributes and properties th
<td>&nbsp;</td>
</tr>
<tr>
<th><a href="types.html#DataTypeTime">&lt;time&gt;</a></th>
<th><a>&lt;time&gt;</a></th>
<td>no</td>
<td>no</td>
<td>no</td>
<td>no</td>
<td>&nbsp;</td>
</tr>
<tr>
<th><a href="types.html#DataTypeURL">&lt;url&gt;</a></th>
<th><a>&lt;url&gt;</a></th>
<td>no</td>
<td>yes</td>
<td>yes</td>
Expand Down
2 changes: 0 additions & 2 deletions master/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ <h3 id="painting">Painting chapter</h3>

<li>Added <a>'vector-effect'</a> property to support non-scaling stroke.</li>

<li>Add <a>&lt;gradient&gt;</a> as possible value for <a>&lt;paint&gt;</a></li>

<li>Added arcs value on <a>'stroke-linejoin'</a>.</li>

<li>Added the <span class="attr-value">'auto-start-reverse'</span>
Expand Down
28 changes: 16 additions & 12 deletions master/definitions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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'/>
Expand Down
2 changes: 1 addition & 1 deletion master/interact.html
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ <h3 id="CursorElement">The <span class="element-name">'cursor'</span> element</h
</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>
Expand Down
2 changes: 1 addition & 1 deletion master/linking.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ <h3 id="xlinkRefAttrs">URL reference attributes</h3>
no.</p></dd>
<dt><a id="XLinkTitleAttribute" ></a> <span
class="adef">xlink:title</span> = "<span
class="attr-value"><a href="types.html#DataTypeAnything">&lt;anything&gt;</a></span>"</dt>
class="attr-value"><a>&lt;anything&gt;</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
Expand Down
30 changes: 15 additions & 15 deletions master/propidx.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ <h1>Property Index</h1>
</tr>
<tr>
<th><a>'baseline-shift'</a></th>
<td>baseline | sub | super | <a href="types.html#DataTypePercentage">&lt;percentage&gt;</a>
| <a href="types.html#DataTypeLength">&lt;length&gt;</a>
<td>baseline | sub | super | <a>&lt;percentage&gt;</a>
| <a>&lt;length&gt;</a>
</td>
<td>baseline</td>
<td><a>'tspan'</a>, <a>'textPath'</a> elements</td>
Expand Down Expand Up @@ -107,7 +107,7 @@ <h1>Property Index</h1>
</tr>
<tr>
<th><a>'color'</a></th>
<td><a href="types.html#DataTypeColor">&lt;color&gt;</a>
<td><a>&lt;color&gt;</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>
Expand Down Expand Up @@ -242,8 +242,8 @@ <h1>Property Index</h1>
<tr>
<th><a>'flood-color'</a></th>
<td>currentColor |<br />
<a href="types.html#DataTypeColor">&lt;color&gt;</a>
[<a href="types.html#DataTypeICCColor">&lt;icccolor&gt;</a>]</td>
<a>&lt;color&gt;</a>
[<a>&lt;icccolor&gt;</a>]</td>
<td>black</td>
<td><a>'feFlood'</a> elements</td>
<td>no</td>
Expand Down Expand Up @@ -296,7 +296,7 @@ <h1>Property Index</h1>
<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">&lt;absolute-size&gt;</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">&lt;relative-size&gt;</span></a>
| <a href="types.html#DataTypeLength">&lt;length&gt;</a>
| <a>&lt;length&gt;</a>
| <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-percentage"> <span class="value-inst-percentage noxref">&lt;percentage&gt;</span></a>
</td>
<td>medium</td>
Expand Down Expand Up @@ -393,7 +393,7 @@ <h1>Property Index</h1>
</tr>
<tr>
<th><a>'letter-spacing'</a></th>
<td>normal | <a href="types.html#DataTypeLength">&lt;length&gt;</a> </td>
<td>normal | <a>&lt;length&gt;</a> </td>
<td>normal</td>
<td><a>text content elements</a></td>
<td>yes</td>
Expand All @@ -404,8 +404,8 @@ <h1>Property Index</h1>
<tr>
<th><a>'lighting-color'</a></th>
<td>currentColor |<br />
<a href="types.html#DataTypeColor">&lt;color&gt;</a>
[<a href="types.html#DataTypeICCColor">&lt;icccolor&gt;</a>]</td>
<a>&lt;color&gt;</a>
[<a>&lt;icccolor&gt;</a>]</td>
<td>white</td>
<td><a>'feDiffuseLighting'</a> and
<a>'feSpecularLighting'</a>
Expand All @@ -420,7 +420,7 @@ <h1>Property Index</h1>
<td>normal |
<a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-number">
<span class="value-inst-number noxref">&lt;number&gt;</span></a> |
<a href="types.html#DataTypeLength">&lt;length&gt;</a> |
<a>&lt;length&gt;</a> |
<a>&lt;percentage&gt;</a></td>
<td>normal</td>
<td><a>'text'</a> elements</td>
Expand Down Expand Up @@ -518,8 +518,8 @@ <h1>Property Index</h1>
<tr>
<th><a>'stop-color'</a></th>
<td>currentColor |<br />
<a href="types.html#DataTypeColor">&lt;color&gt;</a>
[<a href="types.html#DataTypeICCColor">&lt;icccolor&gt;</a>]</td>
<a>&lt;color&gt;</a>
[<a>&lt;icccolor&gt;</a>]</td>
<td>black</td>
<td><a>'stop'</a> elements</td>
<td>no</td>
Expand Down Expand Up @@ -560,7 +560,7 @@ <h1>Property Index</h1>
</tr>
<tr>
<th><a>'stroke-dashoffset'</a></th>
<td><a>&lt;percentage&gt;</a> | <a href="types.html#DataTypeLength">&lt;length&gt;</a> </td>
<td><a>&lt;percentage&gt;</a> | <a>&lt;length&gt;</a> </td>
<td>0</td>
<td><a>shapes</a> and <a>text content elements</a></td>
<td>yes</td>
Expand Down Expand Up @@ -610,7 +610,7 @@ <h1>Property Index</h1>
</tr>
<tr>
<th><a>'stroke-width'</a></th>
<td><a>&lt;percentage&gt;</a> | <a href="types.html#DataTypeLength">&lt;length&gt;</a> </td>
<td><a>&lt;percentage&gt;</a> | <a>&lt;length&gt;</a> </td>
<td>1</td>
<td><a>shapes</a> and <a>text content elements</a></td>
<td>yes</td>
Expand Down Expand Up @@ -683,7 +683,7 @@ <h1>Property Index</h1>
</tr>
<tr>
<th><a>'word-spacing'</a></th>
<td>normal | <a href="types.html#DataTypeLength">&lt;length&gt;</a> </td>
<td>normal | <a>&lt;length&gt;</a> </td>
<td>normal</td>
<td><a>text content elements</a></td>
<td>yes</td>
Expand Down
Loading

0 comments on commit ac1040e

Please sign in to comment.