mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
24 lines
566 B
HTML
24 lines
566 B
HTML
<html class="reftest-wait">
|
|
<title>Test for CSS transitions and re-wrapping of inlines</title>
|
|
<style type="text/css">
|
|
#test { -moz-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>
|