Use new-style attribute definition tables for global attributes.
authorCameron McCormack <cam@mcc.id.au>
Sun, 16 Sep 2012 07:19:08 +1000
changeset 388 253c8f8777d7
parent 387 9f71b46b02f2
child 389 b150b364d4a5
Use new-style attribute definition tables for global attributes.
master/struct.html
--- a/master/struct.html	Sun Sep 16 06:52:38 2012 +1000
+++ b/master/struct.html	Sun Sep 16 07:19:08 2012 +1000
@@ -1925,29 +1925,51 @@
 
 <p>The <a>'id'</a> and <a>'xml:base'</a> attributes are available on all SVG elements:</p>
 
-    <div class="adef-list">
-      <p><em>Attribute definitions:</em></p>
-      <dl>
-        <dt id="IDAttribute"><span
-        class="adef">id</span> = "<span
-        class="attr-value">name</span>"</dt>
-        <dd>Standard XML attribute for assigning a unique
-        <em>name</em> to an element. Refer to the <a href="http://www.w3.org/TR/2008/REC-xml-20081126/"><cite>Extensible
-        Markup Language (XML) 1.0</cite></a> Recommendation [<a href="refs.html#ref-XML10">XML10</a>].<br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        no.</span></dd>
-        <dt id="XMLBaseAttribute"><span
-        class="adef">xml:base</span> = "<span class="attr-value"><a
-        href="types.html#DataTypeIRI">&lt;iri&gt;</a></span>"</dt>
-        <dd>Specifies a base IRI other than the base IRI of the
-        document or external entity. Refer to the <a href="http://www.w3.org/TR/2009/REC-xmlbase-20090128/"><cite>XML Base</cite></a>
-        specification [<a href="refs.html#ref-XML-BASE">XML-BASE</a>].<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="IDAttribute">id</dfn></td>
+        <td><em>name</em></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p class="issue">Need a grammar for <em>name</em>.</p>
+    <p>Standard XML attribute for assigning a unique
+    <em>name</em> to an element. Refer to the <a href="http://www.w3.org/TR/2008/REC-xml-20081126/"><cite>Extensible
+    Markup Language (XML) 1.0</cite></a> Recommendation [<a href="refs.html#ref-XML10">XML10</a>].</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="XMLBaseAttribute">xml:base</dfn></td>
+        <td><a>&lt;iri&gt;</a></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>Specifies a base IRI other than the base IRI of the
+    document or external entity. Refer to the <a href="http://www.w3.org/TR/2009/REC-xmlbase-20090128/"><cite>XML Base</cite></a>
+    specification [<a href="refs.html#ref-XML-BASE">XML-BASE</a>].</p>
+  </dd>
+</dl>
 
 <p class="issue">Are we happy to keep promoting the use of <span class="attr-name">'xml:base'</span>?
 Is it a use case worth trying to include a more HTML-like syntax for – the <span class="element-name">'base'</span>
@@ -1985,35 +2007,57 @@
 <p class="issue">Should we be moving <span class="attr-name">'lang'</span> instead
 of <span class="attr-name">'xlink:lang'</span>?</p>
 
-    <div class="adef-list">
-      <p><em>Attribute definitions:</em></p>
-      <dl>
-        <dt id="XMLLangAttribute"><span
-        class="adef">xml:lang</span> = "<span
-        class="attr-value">languageID</span>"</dt>
-        <dd>Standard XML attribute to specify the language (e.g.,
-        English) used in the contents and attribute values of
-        particular elements. Refer to the <a href="http://www.w3.org/TR/2008/REC-xml-20081126/"><cite>Extensible Markup
-        Language (XML) 1.0</cite></a> Recommendation [<a href="refs.html#ref-XML10">XML10</a>].<br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        no.</span></dd>
-        <dt id="XMLSpaceAttribute"> <span
-        class="adef">xml:space</span> = "<span
-        class="attr-value">{default | preserve}</span>"</dt>
-        <dd>Deprecated XML attribute to specify whether white space
-        is preserved in character data. The only possible values
-        are <span class='attr-value'>'default'</span> and <span class='attr-value'>'preserve'</span>. Refer to the
-        <a href="http://www.w3.org/TR/2008/REC-xml-20081126/"><cite>Extensible Markup Language (XML) 1.0</cite></a>
-        Recommendation [<a href="refs.html#ref-XML10">XML10</a>] and to the
-        discussion <a href="text.html#WhiteSpace">white space
-        handling</a> in SVG.<br />
-        New content should use the <a>'white-space'</a> property instead.<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="XMLLangAttribute">xml:lang</dfn></td>
+        <td><em>languageID</em></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p class="issue">Need a grammar for <em>languageID</em>.</p>
+    <p>Standard XML attribute to specify the language (e.g.,
+    English) used in the contents and attribute values of
+    particular elements. Refer to the <a href="http://www.w3.org/TR/2008/REC-xml-20081126/"><cite>Extensible Markup
+    Language (XML) 1.0</cite></a> Recommendation [<a href="refs.html#ref-XML10">XML10</a>].</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="XMLSpaceAttribute">xml:space</dfn></td>
+        <td>default | preserve</td>
+        <td>default</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>Deprecated XML attribute to specify whether white space
+    is preserved in character data. The only possible values
+    are <span class='attr-value'>'default'</span> and <span class='attr-value'>'preserve'</span>. Refer to the
+    <a href="http://www.w3.org/TR/2008/REC-xml-20081126/"><cite>Extensible Markup Language (XML) 1.0</cite></a>
+    Recommendation [<a href="refs.html#ref-XML10">XML10</a>] and to the
+    discussion <a href="text.html#WhiteSpace">white space
+    handling</a> in SVG.</p>
+    <p>New content should use the <a>'white-space'</a> property instead.</p>
+  </dd>
+</dl>
 
 <h2 id="DOMInterfaces">DOM interfaces</h2>