bug1375518-4-ref.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <title>border-radius and separated border model tables</title>
  3. <style>
  4. body { background: white; color: black }
  5. table { border-collapse: separate; margin: 1em 2px; }
  6. table, td { border: 1px solid black; }
  7. .radius { border: 3px solid teal; background: aqua; color: black; }
  8. </style>
  9. <h1>border-radius and separated border model tables</h1>
  10. <table>
  11. <tbody>
  12. <tr><td>xx</td><td>xx</td><td>xx
  13. </td></tr></tbody>
  14. <tbody class="radius">
  15. <tr><td>xx</td><td>xx</td><td>xx
  16. </td></tr><tr><td>xx</td><td>xx</td><td>xx
  17. </td></tr></tbody>
  18. <tbody>
  19. <tr><td>xx</td><td>xx</td><td>xx
  20. </td></tr></tbody>
  21. </table>
  22. <table>
  23. <tbody><tr class="radius"><td>xx</td><td>xx</td><td>xx
  24. </td></tr><tr><td>xx</td><td>xx</td><td>xx
  25. </td></tr></tbody></table>
  26. <table>
  27. <colgroup class="radius"><col><col></colgroup><colgroup><col>
  28. </colgroup><tbody><tr><td>xx</td><td>xx</td><td>xx
  29. </td></tr><tr><td>xx</td><td>xx</td><td>xx
  30. </td></tr></tbody></table>
  31. <table>
  32. <colgroup><col><col class="radius"><col>
  33. </colgroup><tbody><tr><td>xx</td><td>xx</td><td>xx
  34. </td></tr><tr><td>xx</td><td>xx</td><td>xx
  35. </td></tr></tbody></table>