layout/tables/crashtests/331446-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
michael@0 2 <head>
michael@0 3
michael@0 4 <style id="styles"></style>
michael@0 5
michael@0 6 <script>
michael@0 7
michael@0 8 window.addEventListener("load", f1, false);
michael@0 9
michael@0 10 function f1()
michael@0 11 {
michael@0 12 document.getElementById("div2").setAttribute("style", "position: absolute;");
michael@0 13 document.getElementById("table").setAttribute("style", "width: 200%;");
michael@0 14 setTimeout(f2, 30);
michael@0 15 }
michael@0 16
michael@0 17 function f2()
michael@0 18 {
michael@0 19 document.getElementById("styles").textContent = ".thisMatchesNothing { }";
michael@0 20 document.documentElement.removeAttribute("class");
michael@0 21 }
michael@0 22
michael@0 23 </script>
michael@0 24
michael@0 25 </head>
michael@0 26
michael@0 27 <body style="position: relative; -moz-column-width: 1px;">
michael@0 28
michael@0 29 <table id="table">
michael@0 30 <tr>
michael@0 31 <td>Table</td>
michael@0 32 </tr>
michael@0 33 </table>
michael@0 34
michael@0 35 <div>A</div>
michael@0 36
michael@0 37 <div id="div2">B</div>
michael@0 38
michael@0 39 <div style="display: table; width: 200%;">C</div>
michael@0 40
michael@0 41 </body>
michael@0 42 </html>

mercurial