Use new-style attribute definition boxes in Scripting chapter.
authorCameron McCormack <cam@mcc.id.au>
Tue, 24 Sep 2013 11:02:20 +1000
changeset 539 fef6bcd25751
parent 538 1d638becbf13
child 540 aceb9d5b74e9
Use new-style attribute definition boxes in Scripting chapter.
master/script.html
--- a/master/script.html	Mon Sep 23 17:52:53 2013 +1000
+++ b/master/script.html	Tue Sep 24 11:02:20 2013 +1000
@@ -133,32 +133,56 @@
 
 <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>