[html5] r1752 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 12 15:53:37 PDT 2008


Author: ianh
Date: 2008-06-12 15:53:37 -0700 (Thu, 12 Jun 2008)
New Revision: 1752

Modified:
   index
   source
Log:
[g] (2) Make shadows required.

Modified: index
===================================================================
--- index	2008-06-12 22:36:49 UTC (rev 1751)
+++ index	2008-06-12 22:53:37 UTC (rev 1752)
@@ -19178,8 +19178,8 @@
    values are in coordinate space units. They are not affected by the current
    transformation matrix.
 
-  <p>When the context is created, the shadow offset attributes initially have
-   the value <code>0</code>.
+  <p>When the context is created, the shadow offset attributes must initially
+   have the value <code>0</code>.
 
   <p>On getting, they must return their current value. On setting, the
    attribute being set must be set to the new value, except if the value is
@@ -19200,8 +19200,7 @@
    attribute must be set to the new value, except if the value is negative,
    infinite or NaN, in which case the new value must be ignored.
 
-  <p>Support for shadows is optional. When they are supported, then, when
-   shadows are drawn, they must be rendered as follows:
+  <p>When shadows are drawn, they must be rendered as follows:
 
   <ol>
    <li>
@@ -20524,23 +20523,18 @@
      be subjected to the current transformation matrix.
 
    <li>
-    <p>If shadows are supported:</p>
+    <p>Render the shadow from image <var title="">A</var>, using the current
+     shadow styles, creating image <var title="">B</var>.
 
-    <ol>
-     <li>
-      <p>Render the shadow from image <var title="">A</var>, using the
-       current shadow styles, creating image <var title="">B</var>.
+   <li>
+    <p>Multiply the alpha component of every pixel in <var title="">B</var>
+     by <code title=dom-context-2d-globalAlpha><a
+     href="#globalalpha">globalAlpha</a></code>.
 
-     <li>
-      <p>Multiply the alpha component of every pixel in <var title="">B</var>
-       by <code title=dom-context-2d-globalAlpha><a
-       href="#globalalpha">globalAlpha</a></code>.
+   <li>
+    <p>Within the clipping region, composite <var title="">B</var> over the
+     current canvas bitmap using the current composition operator.
 
-     <li>
-      <p>Within the clipping region, composite <var title="">B</var> over the
-       current canvas bitmap using the current composition operator.
-    </ol>
-
    <li>
     <p>Multiply the alpha component of every pixel in <var title="">A</var>
      by <code title=dom-context-2d-globalAlpha><a

Modified: source
===================================================================
--- source	2008-06-12 22:36:49 UTC (rev 1751)
+++ source	2008-06-12 22:53:37 UTC (rev 1752)
@@ -16793,7 +16793,7 @@
   respectively. Their values are in coordinate space units. They are
   not affected by the current transformation matrix.</p>
 
-  <p>When the context is created, the shadow offset attributes
+  <p>When the context is created, the shadow offset attributes must
   initially have the value <code>0</code>.</p>
 
   <p>On getting, they must return their current value. On setting, the
@@ -16816,8 +16816,7 @@
   value is negative, infinite or NaN, in which case the new value must
   be ignored.</p>
 
-  <p>Support for shadows is optional. When they are supported, then,
-  when shadows are drawn, they must be rendered as follows:</p>
+  <p>When shadows are drawn, they must be rendered as follows:</p>
 
   <ol>
 
@@ -18190,26 +18189,18 @@
    and the stroke must itself also be subjected to the current
    transformation matrix.</p></li>
 
-   <li><p>If shadows are supported:</p>
+   <li><p>Render the shadow from image <var title="">A</var>, using
+   the current shadow styles, creating image <var
+   title="">B</var>.</p></li>
 
-    <ol>
+   <li><p>Multiply the alpha component of every pixel in <var
+   title="">B</var> by <code
+   title="dom-context-2d-globalAlpha">globalAlpha</code>.</p></li>
 
-     <li><p>Render the shadow from image <var title="">A</var>, using
-     the current shadow styles, creating image <var
-     title="">B</var>.</p></li>
+   <li><p>Within the clipping region, composite <var title="">B</var>
+   over the current canvas bitmap using the current composition
+   operator.</p></li>
 
-     <li><p>Multiply the alpha component of every pixel in <var
-     title="">B</var> by <code
-     title="dom-context-2d-globalAlpha">globalAlpha</code>.</p></li>
-
-     <li><p>Within the clipping region, composite <var
-     title="">B</var> over the current canvas bitmap using the current
-     composition operator.</p></li>
-
-    </ol>
-
-   </li>
-
    <li><p>Multiply the alpha component of every pixel in <var
    title="">A</var> by <code
    title="dom-context-2d-globalAlpha">globalAlpha</code>.</p></li>




More information about the Commit-Watchers mailing list