layout/reftests/bugs/608636-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/608636-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html style="background:white;">
     1.6 +<body>
     1.7 +<canvas id="b" style="position:absolute; left:0; top:0" width="20" height="20"></canvas>
     1.8 +<div style="position:absolute; left:0; top:0; -moz-transform:rotate(45deg); height:400px; width:400px; opacity:0.5; border:1px solid black;">
     1.9 +  <canvas id="c" style="display:block;" width="20" height="20"></canvas>
    1.10 +</div>
    1.11 +<div style="position:absolute; left:-3px; top:-3px; -moz-transform:rotate(45deg); height:390px; width:390px; border:10px solid red;"></div>
    1.12 +<script>
    1.13 +function fillCanvas(id) {
    1.14 +  var ctx = document.getElementById(id).getContext("2d");
    1.15 +  ctx.fillStyle = "black";
    1.16 +  ctx.fillRect(0, 0, 10, 10);
    1.17 +}
    1.18 +fillCanvas("c");
    1.19 +fillCanvas("b");
    1.20 +</script>
    1.21 +</body>
    1.22 +</html>

mercurial