Use new-style attribute definition boxes in Paths chapter.
authorCameron McCormack <cam@mcc.id.au>
Mon, 23 Sep 2013 15:15:48 +1000
changeset 534 dcc1d3a5235f
parent 533 88ca6dca9a74
child 535 4ad1d1107d8e
Use new-style attribute definition boxes in Paths chapter.
master/paths.html
--- a/master/paths.html	Mon Sep 23 14:58:27 2013 +1000
+++ b/master/paths.html	Mon Sep 23 15:15:48 2013 +1000
@@ -65,47 +65,68 @@
 
 <edit:elementsummary name='path'/>
 
-    <div class="adef-list">
-      <p><em>Attribute definitions:</em></p>
-      <dl>
-        <dt id="DAttribute"><span
-        class="adef">d</span> = "<em>path data</em>"</dt>
-        <dd>The definition of the outline of a shape. See <a
-        href="#PathData">Path data</a>.<br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>: yes.</span>
-        Path data animation is only possible when each path data
-        specification within an animation specification has exactly
-        the same list of path data commands as the <a>'d'</a> attribute. If an animation is
-        specified and the list of path data commands is not the
-        same, then the animation specification is in error (see <a
-        href="implnote.html#ErrorProcessing">Error Processing</a>).
-        The animation engine interpolates each parameter to each
-        path data command separately based on the attributes to the
-        given animation element. Flags and booleans are
-        interpolated as fractions between zero and one, with any
-        non-zero value considered to be a value of one/true.</dd>
-        <dt id="PathLengthAttribute"><span class="adef">pathLength</span> = "<a
-        href="types.html#DataTypeNumber">&lt;number&gt;</a>"</dt>
-        <dd>The author's computation of the total length of the
-        path, in user units. This value is used to calibrate the
-        user agent's own <a
-        href="paths.html#DistanceAlongAPath">distance-along-a-path</a>
-        calculations with that of the author. The user agent will
-        scale all distance-along-a-path computations by the ratio
-        of <a>'pathLength'</a> to the user
-        agent's own computed value for total path length. <a>'pathLength'</a> potentially affects
-        calculations for <a href="text.html#TextOnAPath">text on a path</a>,
-        <a href="animate.html#AnimateMotionElement">motion animation</a> and
-        various <a href="painting.html#StrokeProperties">stroke operations</a>.<br />
-         A negative value is an error (see <a
-        href="implnote.html#ErrorProcessing">Error
-        processing</a>).<br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        yes.</span></dd>
-      </dl>
-    </div>
+<dl class="attrdef-list">
+  <dt>
+    <table class="propdef attrdef">
+      <tr>
+        <th>Name</th>
+        <th>Value</th>
+        <th>Lacuna value</th>
+        <th>Animatable</th>
+      </tr>
+      <tr>
+        <td><dfn id="DAttribute">d</dfn></td>
+        <td><em>path data</em></td>
+        <td>(none)</td>
+        <td>yes</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>The definition of the outline of a shape. See <a href="#PathData">Path data</a>.</p>
+    <p>Path data animation is only possible when each path data
+    specification within an animation specification has exactly
+    the same list of path data commands as the <a>'d'</a> attribute. If an animation is
+    specified and the list of path data commands is not the
+    same, then the animation specification is in error (see
+    <a href="implnote.html#ErrorProcessing">Error Processing</a>).
+    The animation engine interpolates each parameter to each
+    path data command separately based on the attributes to the
+    given animation element. Flags and booleans are
+    interpolated as fractions between zero and one, with any
+    non-zero value considered to be a value of one/true.</p>
+    <p class="issue">The Value in the table above should be a link to a datatype for path data.</p>
+  </dd>
+  <dt>
+    <table class="propdef attrdef">
+      <tr>
+        <th>Name</th>
+        <th>Value</th>
+        <th>Lacuna value</th>
+        <th>Animatable</th>
+      </tr>
+      <tr>
+        <td><dfn id="PathLengthAttribute">pathLength</dfn></td>
+        <td><a>&lt;number&gt;</a></td>
+        <td>(none)</td>
+        <td>yes</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>The author's computation of the total length of the
+    path, in user units. This value is used to calibrate the
+    user agent's own <a href="paths.html#DistanceAlongAPath">distance-along-a-path</a>
+    calculations with that of the author. The user agent will
+    scale all distance-along-a-path computations by the ratio
+    of <a>'pathLength'</a> to the user
+    agent's own computed value for total path length. <a>'pathLength'</a> potentially affects
+    calculations for <a href="text.html#TextOnAPath">text on a path</a>,
+    <a href="animate.html#AnimateMotionElement">motion animation</a> and
+    various <a href="painting.html#StrokeProperties">stroke operations</a>.</p>
+    <p>A negative value is an error (see <a href="implnote.html#ErrorProcessing">Error processing</a>).</p>
+  </dd>
+</dl>
 
 <h2 id="PathData">Path data</h2>