| Summary: | Stroking text with a gradient and a line dash doesn't apply the line dash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | dino, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
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.