mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
6a20c88a59
MozReview-Commit-ID: 1y2oUkDfnu6 --HG-- extra : rebase_source : 97949c6d03925cd72974a21e630ba850ad2e5c2c
20 lines
366 B
HTML
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>
|