1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/dynamic-opacity-property-01.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"> 1.9 + 1.10 + <title>Test repainting for opacity property changes</title> 1.11 + 1.12 + <script> 1.13 + 1.14 +function doTest() { 1.15 + document.getElementById("r").style.opacity = 1; 1.16 + document.documentElement.removeAttribute("class"); 1.17 +} 1.18 + 1.19 +document.addEventListener("MozReftestInvalidate", doTest, false); 1.20 +setTimeout(doTest, 4000); // fallback for running outside reftest 1.21 + 1.22 + </script> 1.23 + 1.24 + <rect width="100%" height="100%" fill="lime"/> 1.25 + <rect width="100" height="100" fill="red"/> 1.26 + <rect id="r" width="100" height="100" fill="lime" style="opacity:0.5"/> 1.27 + 1.28 +</svg>