W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2010

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 07 Dec 2010 00:33:43 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-11488-2486@http.www.w3.org/Bugs/Public/>

           Summary: drawImage(img), where img is SVG image with %
           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,

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:35 UTC