gecko-dev/dom/canvas/test/reftest/clipped-dash-stroke-rect-ref.html
Kevin Chen 6a20c88a59 Bug 1366027 - Calculate shrink clipped rect with double precision; r=lsalzman
MozReview-Commit-ID: 1y2oUkDfnu6

--HG--
extra : rebase_source : 97949c6d03925cd72974a21e630ba850ad2e5c2c
2017-05-23 11:53:04 +08:00

20 lines
366 B
HTML

<!doctype html>
<html>
<body>
<script>
canvas = document.createElement('canvas');
document.body.appendChild(canvas);
ctx = canvas.getContext('2d');
canvas.width = 1000;
canvas.height = 1000;
ctx.translate(420.31465167323177, 40.531991340689785);
ctx.strokeStyle = 'red';
ctx.lineWidth = 3;
ctx.setLineDash([24, 12]);
ctx.strokeRect(15, -441, 60, 420);
</script>