[html5] r3993 - [e] (0) try to tweak the text on initializing the canvas

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 24 13:14:10 PDT 2009


Author: ianh
Date: 2009-09-24 13:14:09 -0700 (Thu, 24 Sep 2009)
New Revision: 3993

Modified:
   index
   source
Log:
[e] (0) try to tweak the text on initializing the canvas

Modified: index
===================================================================
--- index	2009-09-24 20:10:55 UTC (rev 3992)
+++ index	2009-09-24 20:14:09 UTC (rev 3993)
@@ -24149,13 +24149,16 @@
   pixels per unit in the coordinate space, so that the rendering
   remains at high quality throughout.</p>
 
-  <p>Whenever the <code title=attr-canvas-width><a href=#attr-canvas-width>width</a></code> and
-  <code title=attr-canvas-height><a href=#attr-canvas-height>height</a></code> attributes are set
-  (whether to a new value or to the previous value), the bitmap and
-  any associated contexts must be cleared back to their initial state
-  and reinitialized with the newly specified coordinate space
+  <p>When the <code><a href=#the-canvas-element>canvas</a></code> element is created, and subsequently
+  whenever the <code title=attr-canvas-width><a href=#attr-canvas-width>width</a></code> and <code title=attr-canvas-height><a href=#attr-canvas-height>height</a></code> attributes are set (whether
+  to a new value or to the previous value), the bitmap and any
+  associated contexts must be cleared back to their initial state and
+  reinitialized with the newly specified coordinate space
   dimensions.</p>
 
+  <p>When the canvas is initialized, its bitmap must be cleared to
+  transparent black.</p>
+
   <p>The <dfn id=dom-canvas-width title=dom-canvas-width><code>width</code></dfn> and
   <dfn id=dom-canvas-height title=dom-canvas-height><code>height</code></dfn> IDL
   attributes must <a href=#reflect>reflect</a> the respective content
@@ -24175,13 +24178,6 @@
   context.fillRect(100,0,50,50); // only this square remains</pre>
   </div>
 
-  <div class=impl>
-
-  <p>When the canvas is initialized it must be set to fully
-  transparent black.</p>
-
-  </div>
-
   <p>To draw on the canvas, authors must first obtain a reference to a
   <dfn id=context>context</dfn> using the <dfn id=dom-canvas-getcontext title=dom-canvas-getContext><code>getContext(<var title="">contextId</var>)</code></dfn> method of the
   <code><a href=#the-canvas-element>canvas</a></code> element.</p>

Modified: source
===================================================================
--- source	2009-09-24 20:10:55 UTC (rev 3992)
+++ source	2009-09-24 20:14:09 UTC (rev 3993)
@@ -26233,13 +26233,17 @@
   pixels per unit in the coordinate space, so that the rendering
   remains at high quality throughout.</p>
 
-  <p>Whenever the <code title="attr-canvas-width">width</code> and
-  <code title="attr-canvas-height">height</code> attributes are set
-  (whether to a new value or to the previous value), the bitmap and
-  any associated contexts must be cleared back to their initial state
-  and reinitialized with the newly specified coordinate space
+  <p>When the <code>canvas</code> element is created, and subsequently
+  whenever the <code title="attr-canvas-width">width</code> and <code
+  title="attr-canvas-height">height</code> attributes are set (whether
+  to a new value or to the previous value), the bitmap and any
+  associated contexts must be cleared back to their initial state and
+  reinitialized with the newly specified coordinate space
   dimensions.</p>
 
+  <p>When the canvas is initialized, its bitmap must be cleared to
+  transparent black.</p>
+
   <p>The <dfn title="dom-canvas-width"><code>width</code></dfn> and
   <dfn title="dom-canvas-height"><code>height</code></dfn> IDL
   attributes must <span>reflect</span> the respective content
@@ -26259,13 +26263,6 @@
   context.fillRect(100,0,50,50); // only this square remains</pre>
   </div>
 
-  <div class="impl">
-
-  <p>When the canvas is initialized it must be set to fully
-  transparent black.</p>
-
-  </div>
-
   <p>To draw on the canvas, authors must first obtain a reference to a
   <dfn>context</dfn> using the <dfn
   title="dom-canvas-getContext"><code>getContext(<var




More information about the Commit-Watchers mailing list