[Webkit-unassigned] [Bug 160804] ctx.drawImage fails silently if arguments are non-integers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 15 10:01:12 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=160804

--- Comment #3 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #2)
> Not a JS bindings bug. We fail the following check in the drawImage()
> implementation:
>     if (!imageRect.contains(normalizedSrcRect))
>         return;

srcRect:
[0.100000, 0.000000, 100.000000 100.000000]
normalizedSrcRect:
[0.100000, 0.000000, 100.000000 100.000000]
imageRect:
[0.000000, 0.000000, 100.000000 100.000000]

Technically, it is true that imageRect.contains does not fully contain normalizedSrcRect / srcRect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160815/4e43413a/attachment.html>


More information about the webkit-unassigned mailing list