Skip to content

Commit

Permalink
[e] (0) Be clearer about there not being 'empty' subpaths.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21185
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@7886 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 3, 2013
1 parent 255f88d commit ba3f8e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions complete.html
Expand Up @@ -34017,7 +34017,7 @@ <h6 id=line-styles><span class=secno>4.8.11.2.4 </span>Line styles</h6>
traced.</li>

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

<li><p>Replace each point in each subpath of <var title="">path</var> other than the first point and the last point
Expand Down Expand Up @@ -34691,7 +34691,7 @@ <h6 id=text-styles><span class=secno>4.8.11.2.5 </span>Text styles</h6>
straight or curved lines, and a flag indicating whether the subpath
is closed or not. A closed subpath is one where the last point of
the subpath is connected to the first point of the subpath by a
straight line. Subpaths with fewer than two points are ignored when
straight line. Subpaths with only one point are ignored when
painting the path.</p>

<p>When an object implementing the <code><a href=#canvaspathmethods>CanvasPathMethods</a></code>
Expand Down Expand Up @@ -36701,7 +36701,7 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.2.13 </span>Drawing
and varies based on which path is being used.)</p>

<p>Zero-length line segments must be pruned before stroking a path.
Empty subpaths must be ignored.</p>
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>
Expand Down
6 changes: 3 additions & 3 deletions index
Expand Up @@ -34017,7 +34017,7 @@ idea from Mihai:
traced.</li>

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

<li><p>Replace each point in each subpath of <var title="">path</var> other than the first point and the last point
Expand Down Expand Up @@ -34691,7 +34691,7 @@ hairline width with transform. ack Shaun Morris. --></div>
straight or curved lines, and a flag indicating whether the subpath
is closed or not. A closed subpath is one where the last point of
the subpath is connected to the first point of the subpath by a
straight line. Subpaths with fewer than two points are ignored when
straight line. Subpaths with only one point are ignored when
painting the path.</p>

<p>When an object implementing the <code><a href=#canvaspathmethods>CanvasPathMethods</a></code>
Expand Down Expand Up @@ -36701,7 +36701,7 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
and varies based on which path is being used.)</p>

<p>Zero-length line segments must be pruned before stroking a path.
Empty subpaths must be ignored.</p>
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>
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -36793,7 +36793,7 @@ idea from Mihai:
traced.</p></li>

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

<li><p>Replace each point in each subpath of <var
Expand Down Expand Up @@ -37594,7 +37594,7 @@ hairline width with transform. ack Shaun Morris. -->
straight or curved lines, and a flag indicating whether the subpath
is closed or not. A closed subpath is one where the last point of
the subpath is connected to the first point of the subpath by a
straight line. Subpaths with fewer than two points are ignored when
straight line. Subpaths with only one point are ignored when
painting the path.</p>

<p>When an object implementing the <code>CanvasPathMethods</code>
Expand Down Expand Up @@ -39981,7 +39981,7 @@ v6DVT (also check for '- -' bits in the part above) -->
and varies based on which path is being used.)</p>

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

<hr>

Expand Down

0 comments on commit ba3f8e1

Please sign in to comment.