https://github.com/web-platform-tests/wpt
Revision aceba7094d3d8145b85544ecca7c44de5f4b4f3a authored by plehegar on 16 May 2018, 11:21:12 UTC, committed by plehegar on 16 May 2018, 11:21:12 UTC
1 parent 74acc7e
Raw File
Tip revision: aceba7094d3d8145b85544ecca7c44de5f4b4f3a authored by plehegar on 16 May 2018, 11:21:12 UTC
Fixed moderators
Tip revision: aceba70
geometry-border-image-003-ref.html
<!DOCTYPE html>
<html>
<style>
html, body { margin: 0; padding: 0; }
</style>
<body>
<canvas id ="canvas" width="80" height="120" style="position:relative; left:-10px; top:-10px"></canvas>
<script>
var canvas = document.getElementById('canvas');
var context = canvas.getContext("2d");
context.strokeStyle = 'green';
context.lineWidth = 4;
context.strokeRect(0, 0, 80, 120);
</script>
</body>
</html>
back to top