Skip to content

Commit

Permalink
[gow] (2) Try to get closer to browsers. Slightly.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1764 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 13, 2008
1 parent 7a73124 commit 707ab16
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 19 deletions.
23 changes: 16 additions & 7 deletions index
Expand Up @@ -19483,18 +19483,27 @@ notes on what would need to be defined for dashed lines:
along this circle's circumference, measured in radians clockwise from the
positive x-axis, are the start and end points respectively.

<p>If the absolute magnitude of the difference between the <var
title="">startAngle</var> and <var title="">endAngle</var> angles is equal
to or greater than 2&pi;, then the arc is the whole circumference of this
circle.
<p>If the <var title="">anticlockwise</var> argument is false and
<span><var title="">endAngle</var>-<var title="">startAngle</var></span>
is equal to or greater than <span>2&pi;</span>, or, if the <var
title="">anticlockwise</var> argument is <em>true</em> and <span><var
title="">startAngle</var>-<var title="">endAngle</var></span> is equal to
or greater than <span>2&pi;</span>, then the arc is the whole
circumference of this circle.</p>
<!--alternatively (this is not equivalent, but might make more
sense, if browsers are willing to change to it: <p>If the absolute
magnitude of the difference between the <var
title="">startAngle</var> and <var title="">endAngle</var> angles is
equal to or greater than <span>2&pi;</span>, then the arc is the
whole circumference of this circle.</p>-->

<p>Otherwise, the arc is the path along the circumference of this circle
from the start point to the end point, going anti-clockwise if the <var
title="">anticlockwise</var> argument is true, and clockwise otherwise.
Since the points are on the circle, as opposed to being simply angles from
zero, the arc can never cover an angle greater than 2&pi; radians. If the
two angles are equal, or if the radius is zero, then the arc is defined as
being of zero length in both directions.
zero, the arc can never cover an angle greater than <span>2&pi;</span>
radians. If the two points are the same, or if the radius is zero, then
the arc is defined as being of zero length in both directions.

<p>Negative values for <var title="">radius</var> must cause the
implementation to raise an <code>INDEX_SIZE_ERR</code> exception.
Expand Down
35 changes: 23 additions & 12 deletions source
Expand Up @@ -17115,19 +17115,30 @@ notes on what would need to be defined for dashed lines:
measured in radians clockwise from the positive x-axis, are the
start and end points respectively.</p>

<p>If the absolute magnitude of the difference between the <var
<p>If the <var title="">anticlockwise</var> argument is false and
<span><var title="">endAngle</var>-<var
title="">startAngle</var></span> is equal to or greater than
<span>2&pi;</span>, or, if the <var title="">anticlockwise</var>
argument is <em>true</em> and <span><var
title="">startAngle</var>-<var title="">endAngle</var></span> is
equal to or greater than <span>2&pi;</span>, then the arc is the
whole circumference of this circle.</p>

<!--alternatively (this is not equivalent, but might make more
sense, if browsers are willing to change to it: <p>If the absolute
magnitude of the difference between the <var
title="">startAngle</var> and <var title="">endAngle</var> angles is
equal to or greater than 2&pi;, then the arc is the whole
circumference of this circle.</p>

<p>Otherwise, the arc is the path along the circumference of
this circle from the start point to the end point, going
anti-clockwise if the <var title="">anticlockwise</var> argument is
true, and clockwise otherwise. Since the points are on the circle,
as opposed to being simply angles from zero, the arc can never cover
an angle greater than 2&pi; radians. If the two angles are equal, or
if the radius is zero, then the arc is defined as being of zero
length in both directions.</p>
equal to or greater than <span>2&pi;</span>, then the arc is the
whole circumference of this circle.</p>-->

<p>Otherwise, the arc is the path along the circumference of this
circle from the start point to the end point, going anti-clockwise
if the <var title="">anticlockwise</var> argument is true, and
clockwise otherwise. Since the points are on the circle, as opposed
to being simply angles from zero, the arc can never cover an angle
greater than <span>2&pi;</span> radians. If the two points are the
same, or if the radius is zero, then the arc is defined as being of
zero length in both directions.</p>

<p>Negative values for <var title="">radius</var> must cause the
implementation to raise an <code>INDEX_SIZE_ERR</code>
Expand Down

0 comments on commit 707ab16

Please sign in to comment.