table-anonymous-objects-055

Auto-imported from Gecko test 407115-1.html

WeasyPrint

This browser

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 407115-1.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="">
 8 
 9 <style type="text/css">
10 .outer { border: 1px solid black; }
11 .cell { display: table-cell; border: 1px solid green; }
12 .marg { margin: 1em 0; }
13 </style>
14 </head>
15 <body onload="var c1 = document.getElementById('c1'); c1.parentNode.removeChild(c1);">
16 <p>There should be no red below, except for antialiasing issues.</p>
17 <div style="position: relative; font-size: 2em;">
18 <div style="position: relative; z-index: 1; color: red; padding: 1px;">
19 
20 
21 <div class="outer">
22 <div class="marg"><span id="c1" class="cell"><b>Hello Kitty</b></span></div>
23 <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div>
24 <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div>
25 <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div>
26 </div>
27 
28 </div>
29 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;">
30 
31 
32 <div class="outer">
33 <div class="marg"></div>
34 <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div>
35 <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div>
36 <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div>
37 </div>
38 
39 </div>
40 </div>
41 </body>
42 </html>