349655-ref.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <title>Testcase #2 for bug 349655</title>
  5. <style type="text/css">
  6. table table tr { background: yellow; }
  7. td.gray table {border-top-style:outset}
  8. td.rot table {border-top-style:solid;
  9. border-bottom-style:solid;}
  10. table.rl {border-left-style:solid;
  11. border-right-style:solid;}
  12. </style>
  13. </head>
  14. <body>
  15. <table ><tr><th colspan="2"><h5>Tables on the left have no bordercolor attribute. Right side is the same but with bordercolor.</h5></th></tr>
  16. <tr><td class="gray">
  17. <table border="1" frame="hsides" rules="none">
  18. <tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
  19. </table>
  20. <br>
  21. <table border="8" frame="hsides" rules="none">
  22. <tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
  23. </table>
  24. <br>
  25. <table border="8" frame="hsides">
  26. <tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
  27. </table>
  28. <br>
  29. <table border="8" rules="none">
  30. <tr><td>border="8" rules="none"</td><td>cell2</td></tr>
  31. </table>
  32. </td><td class="rot">
  33. <table bordercolor="red" border="1" frame="hsides" rules="none">
  34. <tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
  35. </table>
  36. <br>
  37. <table bordercolor="red" border="8" frame="hsides" rules="none">
  38. <tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
  39. </table>
  40. <br>
  41. <table bordercolor="red" border="8" frame="hsides">
  42. <tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
  43. </table>
  44. <br>
  45. <table bordercolor="red" border="8" rules="none" class="rl">
  46. <tr><td>border="8" rules="none"</td><td>cell2</td></tr>
  47. </table>
  48. </td></tr>
  49. <tr><th colspan="2"><h5>Without "frame"/"rules" attribute.</h5></th></tr>
  50. <tr><td class="gray">
  51. <table border="1">
  52. <tr><td>border="1"</td><td>cell2</td></tr>
  53. </table>
  54. <br>
  55. <table border="8">
  56. <tr><td>border="8"</td><td>cell2</td></tr>
  57. </table>
  58. </td><td class="rot">
  59. <table bordercolor="red" border="1" class="rl">
  60. <tr><td>border="1"</td><td>cell2</td></tr>
  61. </table>
  62. <br>
  63. <table bordercolor="red" border="8" class="rl">
  64. <tr><td>border="8" </td><td>cell2</td></tr>
  65. </table>
  66. </td></tr>
  67. <tr><th colspan="2"><h5>border-collapse</h5></th></tr>
  68. <tr><td >
  69. <table style="border-collapse:collapse" border="1">
  70. <tr><td>border="1"</td><td>cell2</td></tr>
  71. </table>
  72. <br>
  73. <table style="border-collapse:collapse" border="8">
  74. <tr><td>border="8"</td><td>cell2</td></tr>
  75. </table>
  76. </td><td class="rot">
  77. <table style="border-collapse:collapse" bordercolor="red" border="1" class="rl">
  78. <tr><td>border="1"</td><td>cell2</td></tr>
  79. </table>
  80. <br>
  81. <table style="border-collapse:collapse" bordercolor="red" border="8" class="rl">
  82. <tr><td>border="8" </td><td>cell2</td></tr>
  83. </table>
  84. </td></tr>
  85. <tr><td></td><td>
  86. <h5>bordercolor attribute on other elements</h5>
  87. <table border="8" style="border-style:outset">
  88. <tbody bordercolor="red"><tr><td>TBODY bordercolor</td><td>cell2</td></tr></tbody>
  89. </table><br>
  90. <table border="8" style="border-style:outset">
  91. <tr bordercolor="red"><td>TR bordercolor</td><td>cell2</td></tr>
  92. </table>
  93. <table bordercolor="red" border="8" style="border-style:solid">
  94. <tr><td bordercolor="red">TD bordercolor</td><td>cell2</td></tr>
  95. </table>
  96. </td></tr>
  97. </table>
  98. </body>
  99. </html>