layout/reftests/table-anonymous-boxes/208305-4.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 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3   <head>
     4     <style id="s">
     5       span { display: table-cell ! important }
     6     </style>
     7     <script>
     8       function doTest() {
     9         var s = document.getElementById("s");
    10         s.disabled = true;
    11         document.body.offsetWidth;
    12         s.disabled = false;
    13         document.documentElement.className = "";
    14       }
    15     </script>
    16   </head>
    17   <body onload="doTest()">
    18     <span style="display: block">a b</span>
    19     <span style="display: block">c d</span>
    20   </body>
    21 </html>

mercurial