table-anonymous-objects-205.xht (1098B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Auto-imported from Gecko test white-space-26.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 <link rel="match" href="reference/no_red_antialiasing_a_bc_d-ref.xht"/> 8 <meta name="flags" content='dom'/> 9 10 <style type="text/css"> 11 #t:after { display: table-cell; content: "d"; } 12 </style> 13 </head> 14 <body> 15 <p>There should be no red below, except for antialiasing issues.</p> 16 <div style="position: relative; font-size: 2em;"> 17 <div style="position: relative; z-index: 1; color: red; padding: 1px;"> 18 19 <span id="t"> 20 a<script type="text/javascript">document.body.offsetWidth;</script> <span style="display: table-cell; white-space: pre">bc </span></span> 21 </div> 22 <div style="position: absolute; z-index: 2; top: 0; color: green; padding: 1px;"> 23 24 a bc d 25 </div> 26 </div> 27 </body> 28 </html>