layout/reftests/css-transitions/transitions-inline-already-wrapped-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <html class="reftest-wait">
     2 <title>Test for CSS transitions and re-wrapping of inlines</title>
     3 <style type="text/css">
     4 #test { transition: 5s color linear 200s; }
     5 </style>
     6 <script type="text/javascript">
     8 window.onload = run;
    10 function run() {
    11   var test = document.getElementById("test");
    12   var unused = test.offsetWidth;
    13   test.style.color = "red";
    14   unused = test.offsetWidth;
    15   document.documentElement.removeAttribute("class");
    16 }
    18 </script>
    19 <div style="width: 3em">
    20 <span id="test" style="color: green">
    21 This is some text with a transition.
    22 </span>
    23 </div>

mercurial