mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
18 lines
288 B
HTML
18 lines
288 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<script>
|
||
|
function boom()
|
||
|
{
|
||
|
var canvas = document.createElement('canvas');
|
||
|
var ctx = canvas.getContext('2d');
|
||
|
ctx.setLineDash([-1]);
|
||
|
ctx.isPointInStroke(0, 0);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|