[Webkit-unassigned] [Bug 246498] New: Canvas strokeStyle does not always get applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 18:31:53 PDT 2022


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

            Bug ID: 246498
           Summary: Canvas strokeStyle does not always get applied
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jon at etchgis.com
                CC: dino at apple.com

Safari's <canvas> has fairly recently acquired a regression where `strokeStyle` is not getting applied properly.

As stroke() is called iteratively, it sometimes uses older color values, despite `strokeStyle` being changed prior to the call.

This has been documented with a code snippet on Stack Overflow:

https://stackoverflow.com/questions/74050672/html5-canvas-context-does-not-update-in-safari

It is also observed in a similar example by @Kaiido:

https://jsfiddle.net/7awL4fg3/

This has been tested on a MacBook Pro with Apple Silicon, and several iPhones.

It is present in Safari 16 and Safari Technology Preview.

-- 
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/20221014/10cd2f08/attachment.htm>


More information about the webkit-unassigned mailing list