зеркало из https://github.com/mozilla/gecko-dev.git
30 строки
1.2 KiB
HTML
30 строки
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>
|