layout/reftests/css-transitions/transitions-inline-already-wrapped-1.html
author Emmanuele Bassi <ebassi@mozilla.com>
Sun, 08 Jul 2012 21:25:10 -0400
changeset 98673 137f4655cf255762958f6a52f55b794a98dc13fd
parent 35579 e26f15a70aac0aa10877c9c31978e7fd95a2c35e
permissions -rw-r--r--
Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron

<html class="reftest-wait">
<title>Test for CSS transitions and re-wrapping of inlines</title>
<style type="text/css">
#test { transition: 5s color linear 200s; }
</style>
<script type="text/javascript">

window.onload = run;

function run() {
  var test = document.getElementById("test");
  var unused = test.offsetWidth;
  test.style.color = "red";
  unused = test.offsetWidth;
  document.documentElement.removeAttribute("class");
}

</script>
<div style="width: 3em">
<span id="test" style="color: green">
This is some text with a transition.
</span>
</div>