OLD | NEW |
| (Empty) |
1 <!-- Based on fast/table/border-collapsing/cached-69296.html --> | |
2 <!-- | |
3 Test for bug69296. | |
4 Collapsed borders should not disappear. | |
5 --> | |
6 <html> | |
7 <head> | |
8 <script src="resources/paint-invalidation-test.js"></script> | |
9 <style> | |
10 BODY { | |
11 margin: 20px; | |
12 } | |
13 TABLE { | |
14 border-collapse: collapse; | |
15 } | |
16 TD { | |
17 width: 50px; | |
18 height: 50px; | |
19 border: 1px solid #333333; | |
20 } | |
21 #row1:hover { | |
22 background-color: #ddd; | |
23 color: #111; | |
24 } | |
25 </style> | |
26 <head> | |
27 <script type="text/javascript"> | |
28 function paintInvalidationTest() { | |
29 row = document.getElementById('row1'); | |
30 rowRect = row.getBoundingClientRect(); | |
31 x = rowRect.left + 75; | |
32 y = rowRect.top; | |
33 document.body.offsetTop; | |
34 if (window.eventSender) { | |
35 eventSender.mouseMoveTo(x, y + 1); | |
36 eventSender.mouseMoveTo(x, y - 1); | |
37 } | |
38 } | |
39 </script> | |
40 </head> | |
41 <body onload="runPaintInvalidationTest()"> | |
42 <table> | |
43 <tr id="row1"> | |
44 <td valign="top"/> | |
45 <td/> | |
46 <td> | |
47 <div> | |
48 <div style="width: 20px; height: 20px; background: lime;
"/> | |
49 </div> | |
50 </td> | |
51 </tr> | |
52 <tr id="row2"> | |
53 <td/> | |
54 <td/> | |
55 <td/> | |
56 </tr> | |
57 </table> | |
58 </body> | |
59 </html> | |
OLD | NEW |