mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
17 lines
475 B
HTML
17 lines
475 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<body>
|
|
<div id="d" style="position:absolute; left:10px; top:10px; width:10px; height:10px; clip:rect(auto,100px,50px,auto)">
|
|
<div style="width:100px; height:100px; background:lime;"></div>
|
|
</div>
|
|
<script>
|
|
var d = document.getElementById("d");
|
|
function doTest() {
|
|
d.style.clip = "";
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</body>
|
|
</html>
|