- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 12 Jun 2008 22:54:13 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3019
Modified Files:
Overview.html
Log Message:
Make shadows required. (whatwg r1752)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.941
retrieving revision 1.942
diff -u -d -r1.941 -r1.942
--- Overview.html 12 Jun 2008 22:36:54 -0000 1.941
+++ Overview.html 12 Jun 2008 22:54:10 -0000 1.942
@@ -19282,8 +19282,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
@@ -19304,8 +19304,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>
@@ -20628,22 +20627,17 @@
be subjected to the current transformation matrix.
<li>
- <p>If shadows are supported:</p>
-
- <ol>
- <li>
- <p>Render the shadow from image <var title="">A</var>, using the
- current shadow styles, creating image <var title="">B</var>.
+ <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.
- </ol>
+ <li>
+ <p>Within the clipping region, composite <var title="">B</var> over the
+ current canvas bitmap using the current composition operator.
<li>
<p>Multiply the alpha component of every pixel in <var title="">A</var>
Received on Thursday, 12 June 2008 22:54:47 UTC