https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 1f94c6d54ebcb7ad01342ab97e366c107bbf9300 authored by ffxbld on 15 September 2015, 01:55:37 UTC
Added FIREFOX_41_0_RELEASE FIREFOX_41_0_BUILD1 tag(s) for changeset 02cbfe147883. DONTBUILD CLOSED TREE a=release
Tip revision: 1f94c6d
dynamic-addremove-1a.html
<!DOCTYPE HTML>
<html class="reftest-wait">
<body style="margin:0;">
<div id="t" style="width:100px; height:100px; background:yellow;">
  <div style="position:absolute; left:50px; top:50px; width:100px; height:100px; background:orange;"></div>
</div>
<script>
function doTest() {
  document.getElementById("t").style.transform = "translate(80px,20px)";
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>
back to top