Use new-style attribute definition tables for 'discard'.
authorCameron McCormack <cam@mcc.id.au>
Sun, 16 Sep 2012 05:21:34 +1000
changeset 383 29073b529af7
parent 382 ee4461e680ad
child 384 81f6b7c9a937
Use new-style attribute definition tables for 'discard'.
master/struct.html
--- a/master/struct.html	Sun Sep 16 04:47:02 2012 +1000
+++ b/master/struct.html	Sun Sep 16 05:21:34 2012 +1000
@@ -756,57 +756,69 @@
   element may.
 </p>
 
-<div class="adef-list">
-  <p><em>Attribute definitions:</em></p>
-
-  <dl class="definitions">
-    <dt id="DiscardElementHrefAttribute">
-      <span class="adef">href</span> =
-      "<span class="attr-value"><a href="types.html#DataTypeIRI">&lt;iri&gt;</a></span>"
-    </dt>
-    <dd>
-      <p>
-        An <a>IRI reference</a>
-        that identifies the <a href="animate.html#TargetElement">target element</a>
-        to discard.  See the definition of
-        <a href="animate.html#HrefAttribute"><span class="attr-name">'href'</span></a>
-        on <a>animation elements</a> for details on identifying a target
-        element.
-      </p>
-      <p>
-        Note that if the target element is not part of the
-        <a>current SVG document fragment</a>
-        then whether the target element will be removed or not is defined by the
-        host language.
-      </p>
-      <p>
-        If the <a href="#DiscardElementHrefAttribute"><span class="attr-name">'href'</span></a>
-        attribute is not provided, then the target element will be the immediate
-        parent element of the discard element.
-      </p>
-      <p class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</p>
-    </dd>
-
-    <dt id="DiscardElementBeginAttribute">
-      <span class="adef">begin</span> = "<span class="attr-value"><a href="animate.html#BeginValueListSyntax">begin-value-list</a></span>"
-    </dt>
-
-    <dd>
-      <p>
-        Indicates when the target element will be discarded.  See the definition
-        of <a href="animate.html#BeginAttribute"><span class="attr-name">'begin'</span></a>
-        on <a>animation elements</a> for details.
-      </p>
-      <p>
-        The <a>lacuna value</a>
-        is <span class="attr-value">'0s'</span>.  This indicates that
-        the <a href="animate.html#TargetElement">target element</a> should be
-        discarded immediately once the document begins.
-      </p>
-      <p class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</p>
-    </dd>
-  </dl>
-</div>
+<p><em>Attribute definitions:</em></p>
+
+<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="DiscardElementHrefAttribute">href</dfn></td>
+        <td><a>&lt;iri&gt;</a></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>
+      An <a>IRI reference</a>
+      that identifies the <a href="animate.html#TargetElement">target element</a>
+      to discard.  See the definition of
+      <a href="animate.html#HrefAttribute"><span class="attr-name">'href'</span></a>
+      on <a>animation elements</a> for details on identifying a target
+      element.
+    </p>
+    <p>
+      Note that if the target element is not part of the
+      <a>current SVG document fragment</a>
+      then whether the target element will be removed or not is defined by the
+      host language.
+    </p>
+    <p>
+      If the <a>'href'</a> attribute is not provided, then the target element
+      will be the immediate parent element of the discard element.
+    </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="SVGElementVersionAttribute">begin</dfn></td>
+        <td><a href="animate.html#BeginValueListSyntax">&lt;begin-value-list&gt;</a></td>
+        <td>0s</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>
+      Indicates when the target element will be discarded.  See the definition
+      of <a href="animate.html#BeginAttribute"><span class="attr-name">'begin'</span></a>
+      on <a>animation elements</a> for details.
+    </p>
+  </dd>
+</dl>
 
 <p>
   The <a href="#DiscardElement"><span class="element-name">'discard'</span></a>