OLD | NEW |
1 <head> | 1 <head> |
2 <script type="text/javascript"> | 2 <script type="text/javascript"> |
3 | 3 |
4 function rectsShouldBeEqual(baseline, other, outputElt) | 4 function rectsShouldBeEqual(baseline, other, outputElt) |
5 { | 5 { |
6 if (baseline.left != other.left || | 6 if (baseline.left != other.left || |
7 baseline.top != other.top || | 7 baseline.top != other.top || |
8 baseline.right != other.right || | 8 baseline.right != other.right || |
9 baseline.bottom != other.bottom) | 9 baseline.bottom != other.bottom) |
10 outputElt.innerHTML = '<span style="color:red;"><b>FAIL<BR></b></span>' + | 10 outputElt.innerHTML = '<span style="color:red;"><b>FAIL<BR></b></span>' + |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 </td><td>getClientRects(): | 67 </td><td>getClientRects(): |
68 | 68 |
69 <div id="baseline2" style="position:absolute; left:300px; top:100px; width:100px
; height:100px; background-color:red;"></div> | 69 <div id="baseline2" style="position:absolute; left:300px; top:100px; width:100px
; height:100px; background-color:red;"></div> |
70 <div id="moveme2" style="position:absolute; left:0px; top:0px; width:50px; heigh
t:50px; background-color:green;"></div> | 70 <div id="moveme2" style="position:absolute; left:0px; top:0px; width:50px; heigh
t:50px; background-color:green;"></div> |
71 <div id="results2" style="position:absolute; left:220px; top:220px">...</div> | 71 <div id="results2" style="position:absolute; left:220px; top:220px">...</div> |
72 | 72 |
73 </td> | 73 </td> |
74 | 74 |
75 </body> | 75 </body> |
OLD | NEW |