Skip to content

Commit

Permalink
[e] (0) Move stroking requirements into the stroking algorithm
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23917
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@8399 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 15, 2014
1 parent 4dfcadb commit 938e3ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions complete.html
Expand Up @@ -54981,6 +54981,8 @@ <h6 id=line-styles><span class=secno>4.12.4.2.4 </span>Line styles</h6>

<!-- PATH SANITIZATION -->

<li><p>Prune all zero-length <a href=#line-segments>line segments</a> from <var title="">path</var>.</li>

<li><p>Remove from <var title="">path</var> any subpaths containing no lines (i.e. subpaths with
just one point).</li>

Expand Down Expand Up @@ -57529,10 +57531,6 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.12.4.2.13 </span>Drawing
operators</a>. (The effect of transformations is described above and varies based on which path
is being used.)</p>

<!--CLEANUP-->
<p>Zero-length <a href=#line-segments>line segments</a> must be pruned before stroking a path. Subpaths with just one point
must be ignored.</p>

<hr><p id=dom-context-2d-drawosfocusring>The <dfn id=dom-context-2d-drawsystemfocusring title=dom-context-2d-drawSystemFocusRing><code>drawSystemFocusRing(<var title="">element</var>)</code></dfn> method, when invoked, must run the following steps:</p>

<ol><li><p>If <var title="">element</var> is not focused or is not a descendant of the element with
Expand Down
6 changes: 2 additions & 4 deletions index
Expand Up @@ -54981,6 +54981,8 @@ idea from Mihai:

<!-- PATH SANITIZATION -->

<li><p>Prune all zero-length <a href=#line-segments>line segments</a> from <var title="">path</var>.</li>

<li><p>Remove from <var title="">path</var> any subpaths containing no lines (i.e. subpaths with
just one point).</li>

Expand Down Expand Up @@ -57529,10 +57531,6 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
operators</a>. (The effect of transformations is described above and varies based on which path
is being used.)</p>

<!--CLEANUP-->
<p>Zero-length <a href=#line-segments>line segments</a> must be pruned before stroking a path. Subpaths with just one point
must be ignored.</p>

<hr><p id=dom-context-2d-drawosfocusring>The <dfn id=dom-context-2d-drawsystemfocusring title=dom-context-2d-drawSystemFocusRing><code>drawSystemFocusRing(<var title="">element</var>)</code></dfn> method, when invoked, must run the following steps:</p>

<ol><li><p>If <var title="">element</var> is not focused or is not a descendant of the element with
Expand Down
6 changes: 2 additions & 4 deletions source
Expand Up @@ -60934,6 +60934,8 @@ idea from Mihai:

<!-- PATH SANITIZATION -->

<li><p>Prune all zero-length <span>line segments</span> from <var data-x="">path</var>.</p></li>

<li><p>Remove from <var data-x="">path</var> any subpaths containing no lines (i.e. subpaths with
just one point).</p></li>

Expand Down Expand Up @@ -63943,10 +63945,6 @@ v6DVT (also check for '- -' bits in the part above) -->
operators</span>. (The effect of transformations is described above and varies based on which path
is being used.)</p>

<!--CLEANUP-->
<p>Zero-length <span>line segments</span> must be pruned before stroking a path. Subpaths with just one point
must be ignored.</p>

<hr>

<p id="dom-context-2d-drawosfocusring">The <dfn
Expand Down

0 comments on commit 938e3ec

Please sign in to comment.