mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
20 lines
720 B
XML
20 lines
720 B
XML
|
<svg xmlns="http://www.w3.org/2000/svg"
|
||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
|
width="100" height="100" class="reftest-wait">
|
||
|
<rect width="100%" height="100%" fill="red"/>
|
||
|
<rect width="100%" height="100%" fill="url(script100x100.svg#p1)"/>
|
||
|
<rect id="r1" width="100%" height="100%" fill="transparent"/>
|
||
|
<script type="application/javascript">
|
||
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
||
|
// in case we're not gecko
|
||
|
setTimeout(doTest, 5000);
|
||
|
|
||
|
function doTest() {
|
||
|
// force a repaint
|
||
|
var r1 = document.getElementById("r1");
|
||
|
document.documentElement.removeChild(r1);
|
||
|
document.documentElement.removeAttribute('class');
|
||
|
}
|
||
|
</script>
|
||
|
</svg>
|