2Dapi; hixie: Define how an SVG image gets sized in drawImage() (whatwg r6044)

2Dapi; hixie: Define how an SVG image gets sized in drawImage() (whatwg
r6044)

http://dev.w3.org/cvsweb/html5/2dcontext/Overview.html?r1=1.105&r2=1.106&f=h
http://html5.org/tools/web-apps-tracker?from=6043&to=6044

===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- Overview.html 28 Apr 2011 18:00:25 -0000 1.105
+++ Overview.html 29 Apr 2011 19:35:30 -0000 1.106
@@ -340,7 +340,7 @@
 
    <h1>HTML Canvas 2D Context</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-28-april-2011">Editor's Draft 28 April 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-29-april-2011">Editor's Draft 29 April 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/2dcontext/">http://www.w3.org/TR/2dcontext/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -472,7 +472,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 28 April 2011 Editor's Draft.
+  This specification is the 29 April 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This specification is an extension to the HTML5 language. All
@@ -2435,7 +2435,14 @@
   one CSS pixel in the image is treated as one unit in the canvas
   coordinate space. If the <var title="">sx</var>, <var title="">sy</var>, <var title="">sw</var>, and <var title="">sh</var> arguments are omitted, they must default to 0, 0,
   the image's intrinsic width in image pixels, and the image's
-  intrinsic height in image pixels, respectively.</p>
+  intrinsic height in image pixels, respectively. If the image has no
+  intrinsic dimensions, the <i>concrete object size</i> must be used
+  instead, as determined using the CSS "<a href="http://dev.w3.org/csswg/css3-images/#default-sizing">Concrete
+  Object Size Resolution</a>" algorithm, with the <i>specified
+  size</i> having neither a definite width nor height, nor any
+  additional contraints, the object's intrinsic properties being those
+  of the <var title="">image</var> argument, and the <i>default object
+  size</i> being the size of the <code>canvas</code> element. <a href="#refsCSSIMAGES">[CSSIMAGES]</a></p>
 
   <p>The <var title="">image</var> argument is an instance of either
   <code>HTMLImageElement</code>, <code>HTMLCanvasElement</code>, or
@@ -2955,6 +2962,11 @@
    <dd><cite><a href="http://www.w3.org/TR/css3-fonts/">CSS Fonts
    Module Level 3</a></cite>, J. Daggett. W3C.</dd>
 
+   <dt id="refsCSSIMAGES">[CSSIMAGES]</dt>
+   <dd><cite><a href="http://dev.w3.org/csswg/css3-images/">CSS Image
+   Values and Replaced Content Module Level 3</a></cite>, E. Etemad,
+   T. Atkins. W3C.</dd>
+
    <dt id="refsCSSOM">[CSSOM]</dt>
    <dd><cite><a href="http://dev.w3.org/csswg/cssom/">Cascading Style Sheets
    Object Model (CSSOM)</a></cite>, A. van Kesteren. W3C.</dd>

Received on Friday, 29 April 2011 19:38:12 UTC