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