Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / dom / canvas / test / reftest / clipped-dash-stroke-rect.html
blob0e44254ec31235da56e48a99a9e2bbccc6c75771
1 <!doctype html>
2 <html>
3 <body>
4 <script>
5 canvas = document.createElement('canvas');
6 document.body.appendChild(canvas);
7 ctx = canvas.getContext('2d');
9 canvas.width = 1000;
10 canvas.height = 1000;
11 ctx.translate(420.31465167323177, 40.531991340689785);
12 ctx.scale(3, 3);
14 ctx.strokeStyle = 'red';
15 ctx.lineWidth = 1;
16 ctx.setLineDash([8, 4]);
17 ctx.strokeRect(5, -147, 20, 140);
19 </script>