[Webkit-unassigned] [Bug 225859] New: Canvas does not respect line cap behaviour

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 17 00:29:38 PDT 2021


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

            Bug ID: 225859
           Summary: Canvas does not respect line cap behaviour
           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: pfollia at gmail.com
                CC: dino at apple.com

Created attachment 428813

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

Output of linked example

When drawing a zero-length path in canvas using 'round' or 'square' line-cap, the output does not respect the correct behavior (the stroke should consist of a full circle/square centered at the path's point)

Live example here:

https://codepen.io/madchicken/pen/WNpxBXj

The top line is done drawing a zero-length path, the bottom one using a path of length 1px.

-- 
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/20210517/5db56510/attachment.htm>


More information about the webkit-unassigned mailing list