gecko/layout/reftests/bugs/586683-1.html

25 lines
557 B
HTML

<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style>
body,html { width: 100%; height: 100%; padding: 0; }
div {
position: absolute;
left: 300px;
top: 300px;
-moz-transform: scale(4);
border: 1px solid #888;
}
</style>
</head>
<body>
<div>Hello<canvas width="1" height="1" id="c" style="display:block"></canvas></div>
<script>
var c = document.getElementById("c");
var ctx = c.getContext("2d");
ctx.fillStyle = "white";
ctx.fillRect(0, 0, 1, 1);
</script>
</body></html>