[Webkit-unassigned] [Bug 217556] New: Stroking text with a shadow fills the shadow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 9 23:07:33 PDT 2020


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

            Bug ID: 217556
           Summary: Stroking text with a shadow fills the shadow
           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;
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.shadowColor = "red";
context.shadowOffsetX = 10;
context.shadowOffsetY = 10;
context.strokeText("Hello", 200, 200);

Our rendering 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/1e12e6ae/attachment.htm>


More information about the webkit-unassigned mailing list