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/1999/REC-html401-19991224/strict.dtd"> |
michael@0 | 2 | <html lang="en"><head> |
michael@0 | 3 | |
michael@0 | 4 | |
michael@0 | 5 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
michael@0 | 6 | <title>Frame="box" and Rules="none"</title> |
michael@0 | 7 | <link rel="stylesheet" type="text/css" href="bordercol.css" /> |
michael@0 | 8 | <script language=javascript> |
michael@0 | 9 | function onReftestLoad() { |
michael@0 | 10 | document.getElementById('topRightMask').style.left = (document.getElementById('tablehead').getBoundingClientRect().right + 2) + 'px'; |
michael@0 | 11 | document.getElementById('topRightMask').style.top = (document.getElementById('tablehead').getBoundingClientRect().top - 3) + 'px'; |
michael@0 | 12 | document.getElementById('bottomLeftMask').style.top = (document.getElementById('tablefooter').getBoundingClientRect().bottom + 2) + 'px'; |
michael@0 | 13 | } |
michael@0 | 14 | </script> |
michael@0 | 15 | </head> |
michael@0 | 16 | <body onload='onReftestLoad();'> |
michael@0 | 17 | <div class="maskPixel" id="bottomLeftMask"></div> |
michael@0 | 18 | <div class="maskPixel" id="topRightMask"></div> |
michael@0 | 19 | <table rules="none" frame="box"> |
michael@0 | 20 | <caption><a name="void-none">Frame="box" and Rules="none"</caption> |
michael@0 | 21 | <thead id="tablehead"> |
michael@0 | 22 | <tr> |
michael@0 | 23 | <td>Row 1, Cell 1</td> |
michael@0 | 24 | <td>Row 1, Cell 2</td> |
michael@0 | 25 | <td>Row 1, Cell 3</td> |
michael@0 | 26 | </tr> |
michael@0 | 27 | </thead> |
michael@0 | 28 | <tbody> |
michael@0 | 29 | <tr> |
michael@0 | 30 | <td rowspan="2">Row 2, Cell 1</td> |
michael@0 | 31 | <td colspan="2">Row 2, Cell 2</td> |
michael@0 | 32 | </tr> |
michael@0 | 33 | <tr> |
michael@0 | 34 | <td>Row 3, Cell 2</td> |
michael@0 | 35 | <td rowspan="2">Row 3, Cell 3</td> |
michael@0 | 36 | </tr> |
michael@0 | 37 | <tr> |
michael@0 | 38 | <td colspan="2">Row 4, Cell 1</td> |
michael@0 | 39 | </tr> |
michael@0 | 40 | </tbody> |
michael@0 | 41 | <tfoot id='tablefooter'> |
michael@0 | 42 | <tr> |
michael@0 | 43 | <td>Row 5, Cell 1</td> |
michael@0 | 44 | <td>Row 5, Cell 2</td> |
michael@0 | 45 | <td>Row 5, Cell 3</td> |
michael@0 | 46 | </tr> |
michael@0 | 47 | </tfoot> |
michael@0 | 48 | </table> |
michael@0 | 49 | |
michael@0 | 50 | |
michael@0 | 51 | </body> |
michael@0 | 52 | |
michael@0 | 53 | </html> |