html5/2dcontext Overview.html,1.62,1.63

Update of /sources/public/html5/2dcontext
In directory hutz:/tmp/cvs-serv30783

Modified Files:
	Overview.html 
Log Message:
Fix all the bits that referred to img.complete and assumed it was not returning 'true' when src was missing (that changed recently). (whatwg r5282)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Overview.html	11 Aug 2010 20:26:43 -0000	1.62
+++ Overview.html	11 Aug 2010 20:32:48 -0000	1.63
@@ -1230,12 +1230,13 @@
   exception.</p> <!-- drawImage() has an equivalent paragraph -->
 
   <p>If the <var title="">image</var> argument is an
-  <code>HTMLImageElement</code> object whose <code title="dom-img-complete">complete</code> attribute is false, or
-  if the <var title="">image</var> argument is an
+  <code>HTMLImageElement</code> object whose <code title="dom-img-complete">complete</code> attribute is false or whose
+  <code title="attr-img-src">src</code> attribute is omitted or empty,
+  or if the <var title="">image</var> argument is an
   <code>HTMLVideoElement</code> object whose <code title="dom-media-readyState">readyState</code> attribute is either
   <code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code> or <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>, then the
-  implementation must return null.</p>
-  <!-- drawImage() has an equivalent paragraph -->
+  implementation must return null.</p> <!-- drawImage() has an
+  equivalent paragraph -->
 
   <p>If the <var title="">image</var> argument is an
   <code>HTMLCanvasElement</code> object with either a horizontal
@@ -2654,12 +2655,13 @@
   exception.</p> <!-- createPattern() has an equivalent paragraph -->
 
   <p>If the <var title="">image</var> argument is an
-  <code>HTMLImageElement</code> object whose <code title="dom-img-complete">complete</code> attribute is false, or
-  if the <var title="">image</var> argument is an
+  <code>HTMLImageElement</code> object whose <code title="dom-img-complete">complete</code> attribute is false or whose
+  <code title="attr-img-src">src</code> attribute is omitted or empty,
+  or if the <var title="">image</var> argument is an
   <code>HTMLVideoElement</code> object whose <code title="dom-media-readyState">readyState</code> attribute is either
   <code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code> or <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>, then the
-  implementation must return without drawing anything.</p>
-  <!-- createPattern() has an equivalent paragraph -->
+  implementation must return without drawing anything.</p> <!--
+  createPattern() has an equivalent paragraph -->
 
   <p>If the <var title="">image</var> argument is an
   <code>HTMLCanvasElement</code> object with either a horizontal

Received on Wednesday, 11 August 2010 20:32:52 UTC