[Webkit-unassigned] [Bug 100026] New: inconsistency in drawImage with target rect negative dimensions.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 22 13:54:28 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100026
Summary: inconsistency in drawImage with target rect negative
dimensions.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: arno at renevier.net
Hi,
when calling canvasContext.drawImage with either dw either dh negative, the behaviour is inconsistent:
If dw is -1, it is considered to be canvas.width but if it is -2 or below, the image is drawn from dx,dy but on the opposite side (flipped).
There are two ways to fix the inconsistency: either draw image flipped with -1 dimension, either forbids negative dimensions in destination rectangle (I tested opera and firefox, they both throw a INDEX_SIZE_ERR on that case).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list