white-space-3.html (1541B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <title>CSS 2.1 Test Suite: anonymous table boxes</title> 5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/> 8 <meta name="flags" content="dom" /> 9 <script> 10 function doTest() { 11 try { 12 document.normalize(); 13 } catch (e) {} 14 var n = document.getElementById("t").nextSibling; 15 n.data = " "; 16 document.documentElement.className = ""; 17 } 18 </script> 19 </head> 20 <body style="font-family: monospace" onload="doTest()"> 21 <span style="display: table-row-group"> 22 <span style="display: table-row"> 23 <span style="display: table-cell">Row 1, Col 1</span> 24 <span style="display: table-cell">Row 1, Col 2</span> 25 <span style="display: table-cell">Row 1, Col 3</span> 26 </span> 27 <span style="display: table-row"> 28 <span style="display: table-cell" id="t">Row 22, Col 1</span>This is a test<span style="display: table-cell">Row 22, Col 2</span> 29 <span style="display: table-cell">Row 22, Col 3</span> 30 </span> 31 <span style="display: table-row"> 32 <span style="display: table-cell">Row 333, Col 1</span> 33 <span style="display: table-cell">Row 333, Col 2</span> 34 <span style="display: table-cell">Row 333, Col 3</span> 35 </span> 36 </span> 37 </body> 38 </html>