[Webkit-unassigned] [Bug 225012] New: CanvasPattern with repetition != 'repeat' fills incorrectly for some transforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 23 18:18:49 PDT 2021


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

            Bug ID: 225012
           Summary: CanvasPattern with repetition != 'repeat' fills
                    incorrectly for some transforms
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: knuts763 at umn.edu
                CC: dino at apple.com

Created attachment 426971

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

A sample html file that illustrates the issue.

For some transforms, the PatternCanvas fills incorrectly but only when repetition != 'repeat'. I'm not sure what specifically about the transform triggers it. For a lot of transforms, it's not broken.

The attached file illustrates the issue. If you open the file in Chrome or Firefox, both canvases correctly appear the same. If you open it in Safari, only the left canvas, which is 'repeat', shows correctly (the same as the other browsers). The right canvas shows incorrectly because it is 'no-repeat'. It's also broken for 'repeat-x' and 'repeat-y', but I didn't add either of those to the test case.

This may be a regression, I don't remember encountering it previously.

-- 
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/20210424/cf9bb1d0/attachment.htm>


More information about the webkit-unassigned mailing list