mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait"><head>
|
|
<script>
|
|
function doTest() {
|
|
var e = document.getElementById('a');
|
|
e.style.outline = "1px solid black"; document.body.getClientRects();
|
|
e.style.outline = ""; document.body.getClientRects();
|
|
e.style.outline = "1px solid black"; document.body.getClientRects();
|
|
e.style.outline = ""; document.body.getClientRects();
|
|
e.style.outline = "1px solid black"; document.body.getClientRects();
|
|
e.style.outline = ""; document.body.getClientRects();
|
|
e.style.outline = "1px solid black"; document.body.getClientRects();
|
|
e.style.outline = ""; document.body.getClientRects();
|
|
e.style.outline = "1px solid black"; document.body.getClientRects();
|
|
e.style.outline = ""; document.body.getClientRects();
|
|
e.style.outline = "1px solid black"; document.body.getClientRects();
|
|
e.style.outline = ""; document.body.getClientRects();
|
|
e.style.outline = "1px solid black"; document.body.getClientRects();
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
</head>
|
|
<body style="padding:100px;">
|
|
<a id="a" href="foo">a</a>
|
|
<script>
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</body>
|
|
</html>
|