[Webkit-unassigned] [Bug 223176] New: Enable the layout test 2d.path.stroke.scale2.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 15 01:36:23 PDT 2021


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

            Bug ID: 223176
           Summary: Enable the layout test 2d.path.stroke.scale2.html
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: dino at apple.com

Created attachment 423146

  --> https://bugs.webkit.org/attachment.cgi?id=423146&action=review

test case

This test exists in the following locations:

canvas/philip/tests/2d.path.stroke.scale2.html
imported/w3c/canvas/2d.path.stroke.scale2.html
imported/w3c/web-platform-tests/html/canvas/element/path-objects/2d.path.stroke.scale2.html

These layout tests are now fixed on macOS and iOS after enabling GPUP for 2D canvas rendering. The reason is CGPathAddRect() has a bug. Encoding the CGPath converts the rectangle command to moveTo and lineTo commands.

In the attached test case, the left canvas is drawn incorrectly if GPUP for 2D canvas rendering is disabled. The right canvas is drawn correctly because the "ctx2.rect()" is preceded by the workaround "ctx2.moveTo()".

-- 
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/20210315/d834c42f/attachment.htm>


More information about the webkit-unassigned mailing list