table-anonymous-objects-175

Auto-imported from Gecko test white-space-11.html

WeasyPrint

This browser

Flags
dom

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3 <head>
 4   <title>CSS Test: Auto-imported from Gecko test white-space-11.html</title>
 5   <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes">
 7   <meta name="flags" content="dom">
 8 
 9     <script type="text/javascript">
10       function doTest() {
11         var t = document.getElementById("t1");
12         t.parentNode.removeChild(t);
13         t = document.getElementById("t2");
14         t.parentNode.removeChild(t);
15         document.documentElement.className = "";
16       }
17     </script>
18   </head>
19 <body onload="doTest()">
20 <p>There should be no red below, except for antialiasing issues.</p>
21 <div style="position: relative; font-size: 2em;">
22 <div style="position: relative; z-index: 1; color: red; padding: 1px;">
23 
24     <span>
25       <span>a</span><span style="display: table-cell" id="t2">e</span>
26       <span style="display: table-cell" id="t1">f</span><span>bc d</span>
27     </span>
28   </div>
29 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;">
30 
31     a bc d
32   </div>
33 </div>
34 </body>
35 </html>