349655.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. </style>
  8. </head>
  9. <body>
  10. <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>
  11. <tr><td>
  12. <table border="1" frame="hsides" rules="none">
  13. <tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
  14. </table>
  15. <br>
  16. <table border="8" frame="hsides" rules="none">
  17. <tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
  18. </table>
  19. <br>
  20. <table border="8" frame="hsides">
  21. <tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
  22. </table>
  23. <br>
  24. <table border="8" rules="none">
  25. <tr><td>border="8" rules="none"</td><td>cell2</td></tr>
  26. </table>
  27. </td><td>
  28. <table bordercolor="red" border="1" frame="hsides" rules="none">
  29. <tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
  30. </table>
  31. <br>
  32. <table bordercolor="red" border="8" frame="hsides" rules="none">
  33. <tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
  34. </table>
  35. <br>
  36. <table bordercolor="red" border="8" frame="hsides">
  37. <tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
  38. </table>
  39. <br>
  40. <table bordercolor="red" border="8" rules="none">
  41. <tr><td>border="8" rules="none"</td><td>cell2</td></tr>
  42. </table>
  43. </td></tr>
  44. <tr><th colspan="2"><h5>Without "frame"/"rules" attribute.</h5></th></tr>
  45. <tr><td>
  46. <table border="1">
  47. <tr><td>border="1"</td><td>cell2</td></tr>
  48. </table>
  49. <br>
  50. <table border="8">
  51. <tr><td>border="8"</td><td>cell2</td></tr>
  52. </table>
  53. </td><td>
  54. <table bordercolor="red" border="1">
  55. <tr><td>border="1"</td><td>cell2</td></tr>
  56. </table>
  57. <br>
  58. <table bordercolor="red" border="8" >
  59. <tr><td>border="8" </td><td>cell2</td></tr>
  60. </table>
  61. </td></tr>
  62. <tr><th colspan="2"><h5>border-collapse</h5></th></tr>
  63. <tr><td>
  64. <table style="border-collapse:collapse" border="1">
  65. <tr><td>border="1"</td><td>cell2</td></tr>
  66. </table>
  67. <br>
  68. <table style="border-collapse:collapse" border="8">
  69. <tr><td>border="8"</td><td>cell2</td></tr>
  70. </table>
  71. </td><td>
  72. <table style="border-collapse:collapse" bordercolor="red" border="1">
  73. <tr><td>border="1"</td><td>cell2</td></tr>
  74. </table>
  75. <br>
  76. <table style="border-collapse:collapse" bordercolor="red" border="8" >
  77. <tr><td>border="8" </td><td>cell2</td></tr>
  78. </table>
  79. </td></tr>
  80. <tr><td></td><td>
  81. <h5>bordercolor attribute on other elements</h5>
  82. <table border="8">
  83. <tbody bordercolor="red"><tr><td>TBODY bordercolor</td><td>cell2</td></tr></tbody>
  84. </table><br>
  85. <table border="8">
  86. <tr bordercolor="red"><td>TR bordercolor</td><td>cell2</td></tr>
  87. </table>
  88. <table bordercolor="red" border="8">
  89. <tr><td bordercolor="red">TD bordercolor</td><td>cell2</td></tr>
  90. </table>
  91. </td></tr>
  92. </table>
  93. </body>
  94. </html>