1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-bordercollapse/frame_box_rules_none.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,53 @@ 1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> 1.5 +<html lang="en"><head> 1.6 + 1.7 + 1.8 + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 1.9 + <title>Frame="box" and Rules="none"</title> 1.10 + <link rel="stylesheet" type="text/css" href="bordercol.css" /> 1.11 + <script language=javascript> 1.12 + function onReftestLoad() { 1.13 + document.getElementById('topRightMask').style.left = (document.getElementById('tablehead').getBoundingClientRect().right + 2) + 'px'; 1.14 + document.getElementById('topRightMask').style.top = (document.getElementById('tablehead').getBoundingClientRect().top - 3) + 'px'; 1.15 + document.getElementById('bottomLeftMask').style.top = (document.getElementById('tablefooter').getBoundingClientRect().bottom + 2) + 'px'; 1.16 + } 1.17 + </script> 1.18 +</head> 1.19 +<body onload='onReftestLoad();'> 1.20 +<div class="maskPixel" id="bottomLeftMask"></div> 1.21 +<div class="maskPixel" id="topRightMask"></div> 1.22 +<table rules="none" frame="box"> 1.23 + <caption><a name="void-none">Frame="box" and Rules="none"</caption> 1.24 + <thead id="tablehead"> 1.25 + <tr> 1.26 + <td>Row 1, Cell 1</td> 1.27 + <td>Row 1, Cell 2</td> 1.28 + <td>Row 1, Cell 3</td> 1.29 + </tr> 1.30 + </thead> 1.31 + <tbody> 1.32 + <tr> 1.33 + <td rowspan="2">Row 2, Cell 1</td> 1.34 + <td colspan="2">Row 2, Cell 2</td> 1.35 + </tr> 1.36 + <tr> 1.37 + <td>Row 3, Cell 2</td> 1.38 + <td rowspan="2">Row 3, Cell 3</td> 1.39 + </tr> 1.40 + <tr> 1.41 + <td colspan="2">Row 4, Cell 1</td> 1.42 + </tr> 1.43 + </tbody> 1.44 + <tfoot id='tablefooter'> 1.45 + <tr> 1.46 + <td>Row 5, Cell 1</td> 1.47 + <td>Row 5, Cell 2</td> 1.48 + <td>Row 5, Cell 3</td> 1.49 + </tr> 1.50 + </tfoot> 1.51 +</table> 1.52 + 1.53 + 1.54 +</body> 1.55 + 1.56 +</html>