contain-layout-cell-001-ref.html (765B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Reference Test</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 9 <style> 10 table 11 { 12 background-color: blue; 13 border-spacing: 2px; 14 height: 206px; 15 table-layout: fixed; 16 width: 206px; 17 } 18 19 td 20 { 21 background-color: white; 22 padding: 0px; 23 vertical-align: baseline; 24 } 25 26 span 27 { 28 background-color: green; 29 color: white; 30 font-family: monospace; 31 vertical-align: top; 32 } 33 </style> 34 35 <p>Test passes if there is the word PASS and if there is <strong>no red</strong>. 36 37 <table> 38 39 <tr><td> <td> 40 41 <tr><td> <td><span>PASS</span> 42 43 </table>