[Bug 11488] New: drawImage(img), where img is SVG image with % height/width

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11488

           Summary: drawImage(img), where img is SVG image with %
                    height/width
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Canvas 2D Context (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: jmann@microsoft.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


The Canvas spec states that when using the drawImage() call, “If the sx, sy,
sw, and sh 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.” However, for the case that the drawImage(img) is called
with img, such that img is a SVG image with a percent height and width, the
spec is not clear on what the “intrinsic” dimension should be.

Considering it may be difficult to determine what the intentions of the SVG
image creator was, in this case, I recommend the spec indicate that the Canvas
width and height should be used.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 7 December 2010 00:33:46 UTC