layout/reftests/table-anonymous-boxes/203923-2.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.

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

mercurial