summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/720987.html
blob: cf4a928731f8e98d42fe357c5bdf4614a435271c (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, false);
</script>
</body>
</html>