NEW217555
Stroking text with a gradient and a line dash doesn't apply the line dash
https://bugs.webkit.org/show_bug.cgi?id=217555
Summary Stroking text with a gradient and a line dash doesn't apply the line dash
Myles C. Maxfield
Reported 2020-10-09 23:03:52 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-10-16 23:04:15 PDT
Note You need to log in before you can comment on or make changes to this bug.