Markup cleanup.
authorCameron McCormack <cam@mcc.id.au>
Wed, 16 May 2012 19:54:42 +1000
changeset 72 28a627aec70b
parent 71 0674da6a23dc
child 73 1c2043d65924
Markup cleanup.
master/painting.html
--- a/master/painting.html	Fri May 11 01:12:14 2012 +0200
+++ b/master/painting.html	Wed May 16 19:54:42 2012 +1000
@@ -15,21 +15,11 @@
 <h1>Painting: Filling, Stroking and Marker Symbols</h1>
 
 <div class="annotation">
- <p>
-   SVG2 Requirement: Control the order of painting and filling and markers
- </p>
- <p>
-   Resolution: SVG2 will adopt the "paint-order" property proposal, though possibly with a different name.
- </p>
- <p>
-   <a href="http://www.w3.org/2012/05/07-svg-minutes#item05">Hamburg 2012 F2F Day 1</a>.
- </p>
- <p>
-   Purpose: To address the common desire to paint strokes below fills without having to duplicate an element
- </p>
- <p>
-   Owner: Cameron (ACTION-3285)
- </p>
+ <p>SVG2 Requirement: Control the order of painting and filling and markers</p>
+ <p>Resolution: SVG2 will adopt the "paint-order" property proposal, though possibly with a different name.</p>
+ <p><a href="http://www.w3.org/2012/05/07-svg-minutes#item05">Hamburg 2012 F2F Day 1</a>.</p>
+ <p>Purpose: To address the common desire to paint strokes below fills without having to duplicate an element</p>
+ <p>Owner: Cameron (ACTION-3285)</p>
 </div>
 
 <h2 id="Introduction">Introduction</h2>
@@ -82,70 +72,74 @@
         class="value-inst-inherit noxref">inherit</span></a></span></td>
       </tr>
     </table>
-    <dl>
-      <dt><strong>none</strong></dt>
-      <dd>Indicates that no paint is applied.</dd>
-      <dt><strong>currentColor</strong></dt>
-      <dd>Indicates that painting is done using the current animated value of the color specified
-      by the <a>'color'</a> property. This
-      mechanism is provided to facilitate sharing of color
-      attributes between parent grammars such as other (non-SVG)
-      XML. This mechanism allows you to define a style in your HTML
-      which sets the <span class='property'>'color'</span> property and then pass that style to
-      the SVG user agent so that your SVG text will draw in the
-      same color.</dd>
-      <dt><strong>&lt;color&gt; [&lt;icccolor&gt;]</strong></dt>
-      <dd><a href="types.html#DataTypeColor">&lt;color&gt;</a> is
-      the explicit color (in the sRGB color space [<a href='refs.html#ref-SRGB'>SRGB</a>])
-      to be used to paint the current object. SVG supports all of
-      the syntax alternatives for &lt;color&gt;
-      <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-color">defined in CSS2</a>
-      ([<a href="refs.html#ref-CSS2">CSS2</a>], section 4.3.6), with the
-      exception that SVG contains an expanded list of <a
-      href="types.html#ColorKeywords">recognized color keywords
-      names</a>. If an optional ICC color specification [<a href='refs.html#ref-ICC42'>ICC42</a>] is
-      provided, then the user agent searches the color profile
-      description database for a <a
-      href="color.html#ColorProfileDescriptions">color profile
-      description</a> entry whose name descriptor matches
-      the &lt;name&gt; part of the <a href="types.html#DataTypeICCColor">&lt;icccolor&gt;</a>
-      and uses the last matching entry that is found.
-      (If no match is found, then the ICC color specification is
-      ignored.) The comma and/or whitespace separated list
-      of <a href="types.html#DataTypeNumber">&lt;number&gt;</a>s
-      is a set of ICC-profile-specific color values.
-      (In most cases, the <a href="types.html#DataTypeNumber">&lt;number&gt;</a>s will
-      be in the range 0 to 1.) On platforms which support ICC-based
-      color management, the <a href="types.html#DataTypeICCColor">&lt;icccolor&gt;</a> gets
-      precedence over the <a href="types.html#DataTypeColor">&lt;color&gt;</a> (which is in the sRGB color
-      space). Note that color interpolation occurs in an RGB color
-      space even if an ICC-based color specification is provided
-      (see <a>'color-interpolation'</a> and <a>'color-interpolation-filters'</a>).
-      For more on ICC-based colors, refer to <a
-      href="color.html#ColorProfileDescriptions">Color profile
-      descriptions</a>.</dd>
-      <dt><strong><a href="types.html#DataTypeFuncIRI">&lt;funciri&gt;</a><br />
-       &nbsp;&nbsp;&nbsp;[ none |<br />
-       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currentColor |<br />
-       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;color&gt;
-      [&lt;icccolor&gt;] ]</strong></dt>
-      <dd>The <a href="types.html#DataTypeFuncIRI">&lt;funciri&gt;</a> is used to identify a <a
-      href="pservers.html">paint server</a> such as a gradient, a
-      pattern or a custom paint defined by an extension (see <a
-      href="extend.html">Extensibility</a>). The &lt;funciri&gt;
-      points to the paint server (e.g., a <a
-      href="pservers.html#Gradients">gradient</a> or <a
-      href="pservers.html#Patterns">pattern</a>) to be
-      used to paint the current object. If the <a
-      href="linking.html#IRIReference">IRI reference</a>
-      is not valid (e.g., it points to an object that doesn't exist
-      or the object is not a valid paint server), then the paint
-      method following the &lt;funciri&gt; (i.e., <span class='prop-value'>none |
-      currentColor | &lt;color&gt; [&lt;icccolor&gt;]</span>
-      is used if provided; otherwise, the document is in error (see
-      <a href="implnote.html#ErrorProcessing">Error
-      processing</a>).</dd>
-    </dl>
+
+<dl>
+  <dt>none</dt>
+  <dd>Indicates that no paint is applied.</dd>
+
+  <dt>currentColor</dt>
+  <dd>Indicates that painting is done using the current animated value of the color specified
+  by the <a>'color'</a> property. This
+  mechanism is provided to facilitate sharing of color
+  attributes between parent grammars such as other (non-SVG)
+  XML. This mechanism allows you to define a style in your HTML
+  which sets the <span class='property'>'color'</span> property and then pass that style to
+  the SVG user agent so that your SVG text will draw in the
+  same color.</dd>
+
+  <dt><strong>&lt;color&gt; [&lt;icccolor&gt;]</strong></dt>
+  <dd><a href="types.html#DataTypeColor">&lt;color&gt;</a> is
+  the explicit color (in the sRGB color space [<a href='refs.html#ref-SRGB'>SRGB</a>])
+  to be used to paint the current object. SVG supports all of
+  the syntax alternatives for &lt;color&gt;
+  <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/syndata.html#value-def-color">defined in CSS2</a>
+  ([<a href="refs.html#ref-CSS2">CSS2</a>], section 4.3.6), with the
+  exception that SVG contains an expanded list of <a
+  href="types.html#ColorKeywords">recognized color keywords
+  names</a>. If an optional ICC color specification [<a href='refs.html#ref-ICC42'>ICC42</a>] is
+  provided, then the user agent searches the color profile
+  description database for a <a
+  href="color.html#ColorProfileDescriptions">color profile
+  description</a> entry whose name descriptor matches
+  the &lt;name&gt; part of the <a href="types.html#DataTypeICCColor">&lt;icccolor&gt;</a>
+  and uses the last matching entry that is found.
+  (If no match is found, then the ICC color specification is
+  ignored.) The comma and/or whitespace separated list
+  of <a href="types.html#DataTypeNumber">&lt;number&gt;</a>s
+  is a set of ICC-profile-specific color values.
+  (In most cases, the <a href="types.html#DataTypeNumber">&lt;number&gt;</a>s will
+  be in the range 0 to 1.) On platforms which support ICC-based
+  color management, the <a href="types.html#DataTypeICCColor">&lt;icccolor&gt;</a> gets
+  precedence over the <a href="types.html#DataTypeColor">&lt;color&gt;</a> (which is in the sRGB color
+  space). Note that color interpolation occurs in an RGB color
+  space even if an ICC-based color specification is provided
+  (see <a>'color-interpolation'</a> and <a>'color-interpolation-filters'</a>).
+  For more on ICC-based colors, refer to <a
+  href="color.html#ColorProfileDescriptions">Color profile
+  descriptions</a>.</dd>
+
+  <dt><strong><a href="types.html#DataTypeFuncIRI">&lt;funciri&gt;</a><br />
+   &nbsp;&nbsp;&nbsp;[ none |<br />
+   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currentColor |<br />
+   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;color&gt;
+  [&lt;icccolor&gt;] ]</strong></dt>
+  <dd>The <a href="types.html#DataTypeFuncIRI">&lt;funciri&gt;</a> is used to identify a <a
+  href="pservers.html">paint server</a> such as a gradient, a
+  pattern or a custom paint defined by an extension (see <a
+  href="extend.html">Extensibility</a>). The &lt;funciri&gt;
+  points to the paint server (e.g., a <a
+  href="pservers.html#Gradients">gradient</a> or <a
+  href="pservers.html#Patterns">pattern</a>) to be
+  used to paint the current object. If the <a
+  href="linking.html#IRIReference">IRI reference</a>
+  is not valid (e.g., it points to an object that doesn't exist
+  or the object is not a valid paint server), then the paint
+  method following the &lt;funciri&gt; (i.e., <span class='prop-value'>none |
+  currentColor | &lt;color&gt; [&lt;icccolor&gt;]</span>
+  is used if provided; otherwise, the document is in error (see
+  <a href="implnote.html#ErrorProcessing">Error
+  processing</a>).</dd>
+</dl>
 
 <h2 id="FillProperties">Fill Properties</h2>
 
@@ -279,6 +273,7 @@
     href="images/painting/fillrule-nonzero.svg">View this
     example as SVG (SVG-enabled browsers only)</a></p>
   </dd>
+
   <dt><span class='prop-value'>evenodd</span></dt>
   <dd>
     This rule determines the "insideness" of a point on the
@@ -446,87 +441,40 @@
 <span class="attr-value">'M 40,40 c 0,0 0,0 0,0'</span>.</p>
 
 <div class="annotation">
-  <p>
-    SVG2 Requirement: Include non-scaling stroke.
-  </p>
-  <p>
-    Resolution: SVG2 will include non-scaling stroke.
-  </p>
-  <p>
-    <a href="http://www.w3.org/2011/10/28-svg-irc#T17-46-34">Pre-TPAC F2F 2011-10-28</a>.
-  </p>
-  <p>
-    Purpose: Keep diagrams readable as zoom level changes.
-  </p>
-  <p>
-    Owner: Chris.
-  </p>
-  <p>
-    Note that this could be part of more generic non-scaling features.
-  </p>
+  <p>SVG2 Requirement: Include non-scaling stroke.</p>
+  <p>Resolution: SVG2 will include non-scaling stroke.</p>
+  <p><a href="http://www.w3.org/2011/10/28-svg-irc#T17-46-34">Pre-TPAC F2F 2011-10-28</a>.</p>
+  <p>Purpose: Keep diagrams readable as zoom level changes.</p>
+  <p>Owner: Chris.</p>
+  <p>Note that this could be part of more generic non-scaling features.</p>
 </div>
 
 <div class="annotation">
-  <p>
-    SVG2 Requirement: Include a way to specify stroke-position.
-  </p>
-  <p>
-    Resolution: SVG2 shall include a way to specify stroke-position.
-  </p>
-  <p>
-    <a href="http://www.w3.org/2011/10/28-svg-irc#T18-09-48">Pre-TPAC F2F 2011-10-28</a>.
-  </p>
-  <p>
-    Purpose: Allow stroke to be inside or outside path.
-  </p>
-  <p>
-    Owner: Cameron.
-  </p>
-  <p>
-    See proposal page: <a href="http://www.w3.org/Graphics/SVG/WG/wiki/Proposals/Stroke_position">Stroke position</a>.
-  </p>
+  <p>SVG2 Requirement: Include a way to specify stroke-position.</p>
+  <p>Resolution: SVG2 shall include a way to specify stroke-position.</p>
+  <p><a href="http://www.w3.org/2011/10/28-svg-irc#T18-09-48">Pre-TPAC F2F 2011-10-28</a>.</p>
+  <p>Purpose: Allow stroke to be inside or outside path.</p>
+  <p>Owner: Cameron.</p>
+  <p>See proposal page: <a href="http://www.w3.org/Graphics/SVG/WG/wiki/Proposals/Stroke_position">Stroke position</a>.</p>
 </div>
 
 <div class="annotation">
-  <p>
-    SVG2 Requirement: Specify more precisely stroke dashing.
-  </p>
-  <p>
-    Resolution: SVG2 shall specify stroke dashing more precisely.
-  </p>
-  <p>
-    <a href="http://www.w3.org/2011/10/28-svg-irc#T18-14-14">Pre-TPAC F2F 2011-10-28</a>.
-  </p>
-  <p>
-    Purpose: Define dash starting point on basic shapes and path segments.
-  </p>
-  <p>
-    Owner: Cameron.
-  </p>
+  <p>SVG2 Requirement: Specify more precisely stroke dashing.</p>
+  <p>Resolution: SVG2 shall specify stroke dashing more precisely.</p>
+  <p><a href="http://www.w3.org/2011/10/28-svg-irc#T18-14-14">Pre-TPAC F2F 2011-10-28</a>.</p>
+  <p>Purpose: Define dash starting point on basic shapes and path segments.</p>
+  <p>Owner: Cameron.</p>
 </div>
 
 <div class="annotation">
-  <p>
-    SVG2 Requirement: Allow more author control over positions of dashes. (Scaling of dashes to fit path.)
-  </p>
-  <p>
-    Resolution: SVG2 shall allow more author control over positions of dashes.
-  </p>
-  <p>
-    <a href="http://www.w3.org/2011/10/28-svg-irc#T18-17-51">Pre-TPAC 2011-10-28</a>.
-  </p>
-  <p>
-    Purpose: Allow things like aligning dashes at rectangle corners or along paths, needed for mapping.
-  </p>
-  <p>
-    Owner: Cameron.
-  </p>
-  <p>
-    See proposal page: <a href="http://www.w3.org/Graphics/SVG/WG/wiki/Proposals/Stroke_dash_adjustment">Stroke dash adjustment</a>.
-  </p>
+  <p>SVG2 Requirement: Allow more author control over positions of dashes. (Scaling of dashes to fit path.)</p>
+  <p>Resolution: SVG2 shall allow more author control over positions of dashes.</p>
+  <p><a href="http://www.w3.org/2011/10/28-svg-irc#T18-17-51">Pre-TPAC 2011-10-28</a>.</p>
+  <p>Purpose: Allow things like aligning dashes at rectangle corners or along paths, needed for mapping.</p>
+  <p>Owner: Cameron.</p>
+  <p>See proposal page: <a href="http://www.w3.org/Graphics/SVG/WG/wiki/Proposals/Stroke_dash_adjustment">Stroke dash adjustment</a>.</p>
 </div>
 
-
     <div class="propdef">
       <dl>
         <dt id="StrokeWidthProperty"><span class="propdef-title property">'stroke-width'</span></dt>
@@ -1887,7 +1835,7 @@
 on the element being animated.</p>
 
 
-		<div class="note">The definition of the 'color-interpolation-filters' property has been moved to the <a href="https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html">Filter Effects spec</a>.</div>
+<div class="note">The definition of the 'color-interpolation-filters' property has been moved to the <a href="https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html">Filter Effects spec</a>.</div>
 
 <h3 id="ColorRenderingProperty">The <span class="property">'color-rendering'</span> property</h3>