[Webkit-unassigned] [Bug 217555] New: Stroking text with a gradient and a line dash doesn't apply the line dash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 9 23:03:52 PDT 2020


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

            Bug ID: 217555
           Summary: Stroking text with a gradient and a line dash doesn't
                    apply the line dash
           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: mmaxfield at apple.com
                CC: dino at apple.com

let context = canvas.getContext("2d");
context.font = "192px 'Times'";
context.lineWidth = 2;
context.setLineDash([2, 2]);
let gradient = context.createLinearGradient(200, 200, 400, 200);
gradient.addColorStop(0, "rgb(255, 0, 128)");
gradient.addColorStop(1, "rgb(255, 153, 51)");
context.strokeStyle = gradient;
context.strokeText("Hello", 200, 200);

Our output doesn't match the other browsers.

-- 
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/20201010/9b9b14af/attachment.htm>


More information about the webkit-unassigned mailing list