1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/canvas/empty-transaction-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html class="reftest-wait"> 1.6 +<body> 1.7 +<canvas style="display:block" id="c" width="100" height="100"></canvas> 1.8 +<script> 1.9 +var ctx = document.getElementById("c").getContext("2d"); 1.10 +function doTest() { 1.11 + document.documentElement.removeAttribute("class"); 1.12 + ctx.fillRect(0, 0, 100, 100); 1.13 +} 1.14 +window.addEventListener("MozReftestInvalidate", doTest, false); 1.15 +</script> 1.16 +</body> 1.17 +</html>