table-anonymous-objects-193

Auto-imported from Gecko test white-space-20.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-20.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     <style type="text/css">
10       #t:before { content: "a" }
11     </style>
12   </head>
13 <body>
14 <p>There should be no red below, except for antialiasing issues.</p>
15 <div style="position: relative; font-size: 2em;">
16 <div style="position: relative; z-index: 1; color: red; padding: 1px;">
17 
18     <span id="t">
19       <span style="display: table-cell">b</span><script type="text/javascript">document.body.offsetWidth</script><span style="display: table-cell">c</span>
20       d
21     </span>
22   </div>
23 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;">
24 
25     a bc d
26   </div>
27 </div>
28 </body>
29 </html>