Styling some algorithms in painting.html.
--- a/master/painting.html Tue Feb 04 15:30:46 2014 +1100
+++ b/master/painting.html Tue Feb 04 15:39:36 2014 +1100
@@ -1150,7 +1150,7 @@
<p class="issue">This should include text elements too, but should we
keep stroke dashing on text?</p>
-<ol>
+<ol class="algorithm">
<li>Let <var>shape</var> be an empty shape.</li>
<li>Let <var>path</var> be the <a>equivalent path</a> of the element.</li>
<li>For each subpath of <var>path</var>:
@@ -1203,7 +1203,7 @@
along the subpath for each of the dashes that form the subpath's stroke. It is
determined as follows:</p>
-<ol>
+<ol class="algorithm">
<li>Let <var>pathlength</var> be the length of the subpath.</li>
<li>Let <var>dashes</var> be the list of values of <a>'stroke-dasharray'</a>
@@ -1258,7 +1258,7 @@
<p>The starting and ending <dfn id="TermCapShape">cap shapes</dfn> at a given
<var>position</var> along a subpath are determined as follows:</p>
-<ol>
+<ol class="algorithm">
<li>If <a>'stroke-linecap'</a> is <span class="prop-value">butt</span>, then return an empty shape.</li>
<li>Otherwise, if <a>'stroke-linecap'</a> is <span class="prop-value">round</span>, then:
@@ -1314,7 +1314,7 @@
<p>The <dfn id="TermLineJoinShape">line join shape</dfn> for a given segment of
a subpath is determined as follows:</p>
-<ol>
+<ol class="algorithm">
<li>Let <var>P</var> be the point at the end of the segment.</li>
<li>Let <var>A</var> be the line parallel to the tangent at the end of the segment.</li>
<li>Let <var>B</var> be the line parallel to the tangent at the start of the following segment.</li>