cols-test-2.html 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html>
  3. <title>CSS 2.1 Test Suite: anonymous table boxes</title>
  4. <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
  5. <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
  6. <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
  7. <meta name="flags" content="" />
  8. <body style="font-family: monospace">
  9. <span style="display:table">
  10. <span style="display: table-column; background: yellow"></span>
  11. <span style="display: table-column; background: cyan"></span>
  12. <span style="display: table-column; background: lime"></span>
  13. <span style="display: table-cell">Row 1, Col 1</span>
  14. <span style="display: table-cell">Row 1, Col 2</span>
  15. <span style="display: table-cell">Row 1, Col 3</span>
  16. <span style="display: table-row-group">
  17. <span style="display: table-row">
  18. <span style="display: table-cell">Row 22, Col 1</span>
  19. <span style="display: table-cell">Row 22, Col 2</span>
  20. <span style="display: table-cell">Row 22, Col 3</span>
  21. </span>
  22. <span style="display: table-row">
  23. <span style="display: table-cell">Row 333, Col 1</span>
  24. <span style="display: table-cell">Row 333, Col 2</span>
  25. <span style="display: table-cell">Row 333, Col 3</span>
  26. </span>
  27. </span>
  28. </span>
  29. </body>
  30. </html>