[html5] r1769 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri Jun 13 01:42:02 PDT 2008


Author: ianh
Date: 2008-06-13 01:42:02 -0700 (Fri, 13 Jun 2008)
New Revision: 1769

Modified:
   index
   source
Log:
[e] (0) Clarify the meaning of 'butt'. (re: Canvas line style comments)

Modified: index
===================================================================
--- index	2008-06-13 08:22:57 UTC (rev 1768)
+++ index	2008-06-13 08:42:02 UTC (rev 1769)
@@ -19052,15 +19052,16 @@
    the type of endings that UAs will place on the end of lines. The three
    valid values are <code>butt</code>, <code>round</code>, and
    <code>square</code>. The <code>butt</code> value means that the end of
-   each line is a flat edge perpendicular to the direction of the line. The
-   <code>round</code> value means that a semi-circle with the diameter equal
-   to the width of the line must then be added on to the end of the line. The
-   <code>square</code> value means that a rectangle with the length of the
-   line width and the width of half the line width, placed flat against the
-   edge perpendicular to the direction of the line, must be added at the end
-   of each line. On setting, any other value than the literal strings
-   <code>butt</code>, <code>round</code>, and <code>square</code> must be
-   ignored, leaving the value unchanged.
+   each line has a flat edge perpendicular to the direction of the line (and
+   that no additional line cap is added). The <code>round</code> value means
+   that a semi-circle with the diameter equal to the width of the line must
+   then be added on to the end of the line. The <code>square</code> value
+   means that a rectangle with the length of the line width and the width of
+   half the line width, placed flat against the edge perpendicular to the
+   direction of the line, must be added at the end of each line. On setting,
+   any other value than the literal strings <code>butt</code>,
+   <code>round</code>, and <code>square</code> must be ignored, leaving the
+   value unchanged.
 
   <p>When the context is created, the <code title=dom-context-2d-lineCap><a
    href="#linecap">lineCap</a></code> attribute must initially have the value

Modified: source
===================================================================
--- source	2008-06-13 08:22:57 UTC (rev 1768)
+++ source	2008-06-13 08:42:02 UTC (rev 1769)
@@ -16659,17 +16659,17 @@
   defines the type of endings that UAs will place on the end of
   lines. The three valid values are <code>butt</code>,
   <code>round</code>, and <code>square</code>. The <code>butt</code>
-  value means that the end of each line is a flat edge perpendicular
-  to the direction of the line. The <code>round</code> value means
-  that a semi-circle with the diameter equal to the width of the line
-  must then be added on to the end of the line. The
-  <code>square</code> value means that a rectangle with the length of
-  the line width and the width of half the line width, placed flat
-  against the edge perpendicular to the direction of the line, must be
-  added at the end of each line. On setting, any other value than the
-  literal strings <code>butt</code>, <code>round</code>, and
-  <code>square</code> must be ignored, leaving the value
-  unchanged.</p>
+  value means that the end of each line has a flat edge perpendicular
+  to the direction of the line (and that no additional line cap is
+  added). The <code>round</code> value means that a semi-circle with
+  the diameter equal to the width of the line must then be added on to
+  the end of the line. The <code>square</code> value means that a
+  rectangle with the length of the line width and the width of half
+  the line width, placed flat against the edge perpendicular to the
+  direction of the line, must be added at the end of each line. On
+  setting, any other value than the literal strings <code>butt</code>,
+  <code>round</code>, and <code>square</code> must be ignored, leaving
+  the value unchanged.</p>
 
   <p>When the context is created, the <code
   title="dom-context-2d-lineCap">lineCap</code> attribute must




More information about the Commit-Watchers mailing list