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

details:   https://svgwg.org/hg/svg2/rev/fef6bcd25751
branches:  
changeset: 539:fef6bcd25751
user:      Cameron McCormack <cam@mcc.id.au>
date:      Tue Sep 24 11:02:20 2013 +1000
description:
Use new-style attribute definition boxes in Scripting chapter.

diffstat:

 master/script.html |  74 +++++++++++++++++++++++++++++++++++------------------
 1 files changed, 49 insertions(+), 25 deletions(-)

diffs (95 lines):

diff --git a/master/script.html b/master/script.html
--- a/master/script.html
+++ b/master/script.html
@@ -128,42 +128,66 @@ If the <a>SVG user agent</a> does not su
     </tr>
   </tbody>
 </table>
 <p class="view-as-svg"><a href="images/script/script01.svg">View this example as SVG (SVG-enabled browsers only)</a></p>
 
 
 <edit:elementsummary name='script'/>
 
-    <div class="adef-list">
-      <p><em>Attribute definitions:</em></p>
-      <dl>
-        <dt id="ScriptElementTypeAttribute"><span
-        class="adef">type</span> = "<span
-        class="attr-value"><em>content-type</em></span>"</dt>
-        <dd>Identifies the scripting language for the given <a>'script'</a> element. The value
-        <span class="attr-value"><em>content-type</em></span>
-        specifies a media type, per 
-        <a href="http://www.ietf.org/rfc/rfc2046.txt">Multipurpose Internet Mail Extensions
-        (MIME) Part Two</a> [<a href="refs.html#ref-RFC2046">RFC2046</a>].
-        If a <a>'script/type'</a> is not provided, then the default scripting
-	language assumed is ECMAScript, as if processed with the
-	<span class="attr-name">'application/ecmascript'</span> media type.
-        [<a href="refs.html#ref-RFC4329">RFC4329</a>]<br/>
-        <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        no.</span></dd>
+<p><em>Attribute definitions:</em></p>
 
-        <dt id="ScriptElementHrefAttribute"><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="linking.html#IRIReference">IRI reference</a> to an external
-        resource containing the script code.<br/>
-        <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</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="ScriptElementTypeAttribute">type</dfn></td>
+        <td><em>content-type</em></td>
+        <td>application/ecmascript</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    Identifies the scripting language for the given <a>'script'</a> element. The value
+    <span class="attr-value"><em>content-type</em></span>
+    specifies a media type, per 
+    <a href="http://www.ietf.org/rfc/rfc2046.txt">Multipurpose Internet Mail Extensions
+    (MIME) Part Two</a> [<a href="refs.html#ref-RFC2046">RFC2046</a>].
+    If a <a>'script/type'</a> is not provided, then the default scripting
+    language assumed is ECMAScript, as if processed with the
+    <span class="attr-name">'application/ecmascript'</span> media type.
+  </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="ScriptElementHrefAttribute">href</dfn></td>
+        <td><a>&lt;iri&gt;</a></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    An <a href="linking.html#IRIReference">IRI reference</a> to an external
+    resource containing the script code.
+  </dd>
+</dl>
 
 <h2 id="EventHandling">Event handling</h2>
 
 <p>Events can cause scripts to execute when either of the following has
 occurred:</p>
 
 <ul>
   <li><a href="script.html#EventAttributes">Event attributes</a> such as

Received on Tuesday, 24 September 2013 01:04:52 UTC