layout/reftests/bugs/902330-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/902330-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<style>
     1.7 +canvas {
     1.8 +  position: absolute;
     1.9 +  top: 100px;
    1.10 +  left: 100px;
    1.11 +  width: 300px;
    1.12 +  height: 300px;
    1.13 +}
    1.14 +</style>
    1.15 +</head>
    1.16 +<body>
    1.17 +<canvas id="c" height="300px" width="300px"></canvas>
    1.18 +<script>
    1.19 +var c = document.getElementById('c');
    1.20 +var ctxt = c.getContext('2d');
    1.21 +ctxt.fillStyle = 'rgb(0,255,0)';
    1.22 +ctxt.fillRect(0, 0, 300, 300);
    1.23 +ctxt.fillStyle = 'rgba(255,255,255,0.5)';
    1.24 +ctxt.fillRect(100, 100, 100, 100);
    1.25 +</script>
    1.26 +</body>
    1.27 +</html>

mercurial