[Webkit-unassigned] [Bug 199850] New: CanvasRenderingContext2D.setContext does not read m** fields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 16 20:55:46 PDT 2019


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

            Bug ID: 199850
           Summary: CanvasRenderingContext2D.setContext does not read m**
                    fields
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: saschanaz at outlook.com
                CC: dino at apple.com

Relevant WPT test: https://w3c-test.org/css/geometry/DOMMatrix2DInit-validate-fixup.html
Smaller visual test: https://codepen.io/SaschaNaz/pen/voBBee (Both rectangle must look same with their width being twice of their height.)

Relevant source: https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f857067896a10af8974/Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp#L910

It seems the method internally reads a/b/c/d/c/f instead of m11/m12/m21/m22/m41/m42, which is a problem because validateAndFixup only ensures correct values for m** fields.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190717/7b69cfe0/attachment-0001.html>


More information about the webkit-unassigned mailing list