https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 82603ee87b732c0bdd2cf2f0272ea5676a43beb8 authored by Nick Thomas on 26 November 2014, 22:31:23 UTC
Move tags FIREFOX_34_0_BUILD2, FIREFOX_34_0_RELEASE back to 456394191c90, after accidental 2nd tagging run moved them, a=releng-bunnies-in-a-row
Tip revision: 82603ee
stress-1.html
<!DOCTYPE html>
<html class="reftest-wait">
<head>

<style>
  .fl:first-line { }
  .inh { position: inherit; }
  .abs { position: absolute; }
  body { visibility: hidden; }
</style>
 
<script>

function boom()
{
  x = document.getElementById("x");
  y = document.getElementById("y");

  x.setAttribute('class', "fl abs");
  y.setAttribute('class', "inh");
  setTimeout(boom2, 5);
}

function boom2()
{
  y.setAttribute('class', "abs");
  document.body.offsetWidth;
  document.documentElement.className = "";
}

</script>

</head>

<body onload="setTimeout(boom, 5);">
<div id="x">
  <p id="y">foo</p>
</div>
</body>

</html>
back to top