Use new-style attribute definition tables for conditional processing attributes.
authorCameron McCormack <cam@mcc.id.au>
Sun, 16 Sep 2012 06:52:38 +1000
changeset 387 9f71b46b02f2
parent 386 baba1e8e1136
child 388 253c8f8777d7
Use new-style attribute definition tables for conditional processing attributes.
master/struct.html
--- a/master/struct.html	Sun Sep 16 06:44:13 2012 +1000
+++ b/master/struct.html	Sun Sep 16 06:52:38 2012 +1000
@@ -1724,26 +1724,36 @@
 
 <h3 id="ConditionalProcessingRequiredFeaturesAttribute">The <span class='attr-name'>'requiredFeatures'</span> attribute</h3>
 
-    <div class="adef-list">
-      <p>Definition of <span
-      class="adef">requiredFeatures</span>:</p>
-      <dl>
-        <dt id="RequiredFeaturesAttribute"><span class="adef">requiredFeatures</span> =
-        <em>list-of-features</em></dt>
-        <dd>The value is a list of feature strings, with the
-        individual values separated by white space. Determines
-        whether all of the named <em>features</em> are supported by
-        the user agent. Only feature strings defined in the <a
-        href="feature.html">Feature String</a> appendix are
-        allowed. If all of the given features are supported, then
-        the attribute evaluates to true; otherwise, the current
-        element and its children are skipped and thus will not be
-        rendered.<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="RequiredFeaturesAttribute">requiredFeatures</dfn></td>
+        <td><em>list-of-features</em></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p class="issue">Need a grammar for <em>list-of-features</em>.</p>
+    <p>The value is a list of feature strings, with the
+    individual values separated by white space. Determines
+    whether all of the named <em>features</em> are supported by
+    the user agent. Only feature strings defined in the <a
+    href="feature.html">Feature String</a> appendix are
+    allowed. If all of the given features are supported, then
+    the attribute evaluates to true; otherwise, the current
+    element and its children are skipped and thus will not be
+    rendered.</p>
+  </dd>
+</dl>
 
 <p>If the attribute is not present, then its implicit return
 value is "true". If a null string or empty string value is
@@ -1764,26 +1774,35 @@
 extension is identified by an <a
 href="linking.html#IRIReference">IRI reference</a>.</p>
 
-    <div class="adef-list">
-      <p>Definition of <span
-      class="adef">requiredExtensions</span>:</p>
-      <dl>
-        <dt id="RequiredExtensionsAttribute"><span class="adef">requiredExtensions</span> =
-        <em>list-of-extensions</em></dt>
-        <dd>The value is a list of <a
-        href="linking.html#IRIReference">IRI reference</a>s which
-        identify the required extensions, with the individual
-        values separated by white space. Determines whether all of
-        the named <em>extensions</em> are supported by the user
-        agent. If all of the given extensions are supported, then
-        the attribute evaluates to true; otherwise, the current
-        element and its children are skipped and thus will not be
-        rendered.<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="ReuquiredExtensionsAttribute">requiredExtensions</dfn></td>
+        <td><em>list-of-extensions</em></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>The value is a list of <a
+    href="linking.html#IRIReference">IRI reference</a>s which
+    identify the required extensions, with the individual
+    values separated by white space. Determines whether all of
+    the named <em>extensions</em> are supported by the user
+    agent. If all of the given extensions are supported, then
+    the attribute evaluates to true; otherwise, the current
+    element and its children are skipped and thus will not be
+    rendered.</p>
+  </dd>
+</dl>
 
 <p>If a given <a href="linking.html#IRIReference">IRI
 reference</a> contains white space within itself, that white
@@ -1875,6 +1894,8 @@
 situations, then it represents a simple switch on the given
 element whether to render the element or not.</p>
 
+<p class="issue">Should have an attribute definition table in this section.</p>
+
 <h3 id="ApplicabilityOfTestAttributes">Applicability of test attributes</h3>
 
 <p>The following list describes the applicability of the test