svg2: Use new-style attribute definition tables for some attributes i...

details:   https://svgwg.org/hg/svg2/rev/d9df70d79141
branches:  
changeset: 390:d9df70d79141
user:      Cameron McCormack <cam@mcc.id.au>
date:      Fri Sep 21 03:39:43 2012 +1000
description:
Use new-style attribute definition tables for some attributes in the Styling chapter.

diffstat:

 master/styling.html |  109 ++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 73 insertions(+), 36 deletions(-)

diffs (129 lines):

diff --git a/master/styling.html b/master/styling.html
--- a/master/styling.html
+++ b/master/styling.html
@@ -774,52 +774,89 @@ in an SVG document fragment?</p>
 <p>The <a>'style element'</a> element allows
 style sheets to be embedded directly within SVG content. SVG's <a>'style element'</a> element has the same
 attributes as the corresponding element in HTML (see <a
 href="http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#h-14.2.3">
 HTML's <span class="attr-name">'style'</span> element</a>).</p>
 
 <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>
 
 <p>Some style sheet languages might allow a wider variety of
 rules in the <a>'style element'</a> element
 than in the <a>'style attribute'</a>. For example, with
 CSS, rules can be declared within a <a>'style element'</a> element that cannot be
 declared within a <a>'style attribute'</a>

Received on Thursday, 20 September 2012 17:43:14 UTC