svg2: Use new-style attribute definition boxes in Interactivity chapter.

details:   https://svgwg.org/hg/svg2/rev/24280cd2fcd8
branches:  
changeset: 537:24280cd2fcd8
user:      Cameron McCormack <cam@mcc.id.au>
date:      Mon Sep 23 17:24:56 2013 +1000
description:
Use new-style attribute definition boxes in Interactivity chapter.

diffstat:

 master/interact.html |  87 ++++++++++++++++++++++++++++-----------------------
 1 files changed, 47 insertions(+), 40 deletions(-)

diffs (107 lines):

diff --git a/master/interact.html b/master/interact.html
--- a/master/interact.html
+++ b/master/interact.html
@@ -1017,56 +1017,63 @@ determined, the mask defines the shape o
 otherwise, the cursor is an opaque rectangle. Typically, the
 other pixel information (e.g., the R, G and B channels) defines
 the colors for those parts of the cursor which are not masked
 out. Note that cursors usually contain at least two colors so
 that the cursor can be visible over most backgrounds.</p>
 
 <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#DataTypeLength">&lt;length&gt;</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#DataTypeLength">&lt;length&gt;</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>
-        <dt id="CursorElementHrefAttribute"><span
-        class="adef">xlink:href</span> = "<span
-        class="attr-value"><a
-        href="types.html#DataTypeIRI">&lt;IRI&gt;</a></span>"</dt>
-        <dd>An <a href="types.html#DataTypeIRI">IRI
-        reference</a> to the file or element which provides the
-        image of the cursor.<br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        yes.</span></dd>
-      </dl>
-    </div>
-    <p>SVG user agents are required to support PNG format images as
-    targets of the <a>'xlink:href'</a>
-    attribute.</p>
+<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="CursorElementXAttribute">x</dfn>, <dfn id="CursorElementYAttribute">y</dfn></td>
+        <td><a>&lt;length&gt;</a></td>
+        <td>0</td>
+        <td>yes</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    The x- and y-coordinates of the position in the cursor's coordinate system
+    which represents the precise position that is being pointed to.
+  </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="CursorElementHrefAttribute">xlink:href</dfn></td>
+        <td><a>&lt;iri&gt;</a></td>
+        <td>(none)</td>
+        <td>yes</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    An <a href="types.html#DataTypeIRI">IRI reference</a> to the file or element
+    which provides the image of the cursor.
+  </dd>
+</dl>
+
+<p>SVG user agents are required to support PNG format images as targets of the
+<a>'xlink:href'</a> attribute.</p>
 
 <p class="issue">Add an example.</p>
 
 </edit:with>
 
 <h2 id="DOMInterfaces">DOM interfaces</h2>
 
 <h3 id="InterfaceSVGCursorElement">Interface SVGCursorElement</h3>

Received on Monday, 23 September 2013 07:27:32 UTC