layout/reftests/table-anonymous-boxes/203923-2.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4   <script type="text/javascript">
     5     function doTest() {
     6       var t = document.getElementById("t");
     7       t.style.display = "none";
     8       document.body.offsetWidth;
     9       t.style.display = "table-cell";
    10       document.documentElement.className = "";
    11     }
    12   </script>
    13 </head>
    14 <body onload="doTest()">
    15   <span style="display: block">
    16     <span style="display: table-cell">a</span>
    17     <span style="display: table-cell; white-space: pre"> </span>
    18     <span style="display: table-cell;" id="t">bc</span>
    19     <span style="display: table-cell; white-space: pre"> </span>
    20     <span style="display: table-cell">d</span>
    21 </body>
    22 </html>

mercurial