blob: c2a85a432448c35680a677560b6035d1dbe9412a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<!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);
</script>
</body>
</html>
|