Use new-style attribute definition tables for some attributes in the Styling chapter.
authorCameron McCormack <cam@mcc.id.au>
Fri, 21 Sep 2012 03:39:43 +1000
changeset 390 d9df70d79141
parent 389 b150b364d4a5
child 391 dec9b5167459
Use new-style attribute definition tables for some attributes in the Styling chapter.
master/styling.html
--- a/master/styling.html	Thu Sep 20 11:11:52 2012 +0300
+++ b/master/styling.html	Fri Sep 21 03:39:43 2012 +1000
@@ -779,42 +779,79 @@
 
 <edit:elementsummary name='style'/>
 
-    <div class="adef-list">
-      <p>Attribute definitions:</p>
-      <dl>
-        <dt id='StyleElementTypeAttribute'><span
-        class="adef">type</span> = <em>content-type</em></dt>
-        <dd>This attribute specifies the style sheet language of
-        the element's contents. The style sheet language is
-        specified as a content type (e.g., "text/css"), as per <a href="http://www.ietf.org/rfc/rfc2046.txt">MIME Part Two: Media Types</a>
-        [<a href="refs.html#ref-RFC2046">RFC2046</a>].
-	If the attribute is not specified, then the
-	style sheet language is assumed to be CSS.
-         <br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        no.</span></dd>
-        <dt id="StyleElementMediaAttribute"><span
-        class="adef">media</span> = <em>media-descriptors</em></dt>
-        <dd>This attribute specifies the intended destination
-        medium for style information. It may be a single media
-        descriptor or a comma-separated list. The default value for
-        this attribute is "all". The set of recognized
-        <em>media-descriptors</em> are the list of <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/media.html#media-types'>media types recognized by CSS 2.1</a>
-        ([<a href="refs.html#ref-CSS21">CSS21</a>], section 7.3).<br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        no.</span></dd>
-        <dt id="StyleElementTitleAttribute"><span
-        class="adef">title</span> = <em>advisory-title</em></dt>
-        <dd>(For compatibility with HTML 4 [<a
-        href="refs.html#ref-HTML4">HTML4</a>].) This
-        attribute specifies an advisory title for the <a>'style element'</a> element.<br />
-         <span class="anim-target"><a
-        href="animate.html#Animatable">Animatable</a>:
-        no.</span></dd>
-      </dl>
-    </div>
+<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="StyleElementTypeAttribute">type</dfn></td>
+        <td><em>content-type</em></td>
+        <td>text/css</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>This attribute specifies the style sheet language of
+    the element's contents. The style sheet language is
+    specified as a content type (e.g., "text/css"), as per <a href="http://www.ietf.org/rfc/rfc2046.txt">MIME Part Two: Media Types</a>
+    [<a href="refs.html#ref-RFC2046">RFC2046</a>].
+    If the attribute is not specified, then the
+    style sheet language is assumed to be CSS.</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="StyleElementMediaAttribute">media</dfn></td>
+        <td><em>media</em></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>This attribute specifies the intended destination
+    medium for style information. It may be a single media
+    descriptor or a comma-separated list. The default value for
+    this attribute is "all". The set of recognized
+    <em>media-descriptors</em> are the list of <a href='http://www.w3.org/TR/2011/REC-CSS2-20110607/media.html#media-types'>media types recognized by CSS 2.1</a>
+    ([<a href="refs.html#ref-CSS21">CSS21</a>], section 7.3).</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="StyleElementTitleAttribute">title</dfn></td>
+        <td><em>advisory-title</em></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    <p>(For compatibility with HTML 4 [<a
+    href="refs.html#ref-HTML4">HTML4</a>].) This
+    attribute specifies an advisory title for the <a>'style element'</a> element.</p>
+  </dd>
+</dl>
 
 <p>The syntax of style data depends on the style sheet language.</p>