Index: third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ab27d234da99f634c12bc7d22e76881c0181d821 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296.html |
@@ -0,0 +1,58 @@ |
+<!-- |
+Test for bug69296. |
+Collapsed borders should not disappear. |
+--> |
+<html> |
+ <head> |
+ <script src="../resources/text-based-repaint.js"></script> |
+ <style> |
+ BODY { |
+ margin: 20px; |
+ } |
+ TABLE { |
+ border-collapse: collapse; |
+ } |
+ TD { |
+ width: 50px; |
+ height: 50px; |
+ border: 1px solid #333333; |
+ } |
+ #row1:hover { |
+ background-color: #ddd; |
+ color: #111; |
+ } |
+ </style> |
+ <head> |
+ <script type="text/javascript"> |
+ function repaintTest() { |
+ row = document.getElementById('row1'); |
+ rowRect = row.getBoundingClientRect(); |
+ x = rowRect.left + 75; |
+ y = rowRect.top; |
+ document.body.offsetTop; |
+ if (window.eventSender) { |
+ eventSender.mouseMoveTo(x, y + 1); |
+ eventSender.mouseMoveTo(x, y - 1); |
+ } |
+ } |
+ </script> |
+ </head> |
+ <body onload="runRepaintAndPixelTest()"> |
+ <table> |
+ <tr id="row1"> |
+ <td valign="top"/> |
+ <td/> |
+ <td> |
+ <div> |
+ <div style="width: 20px; height: 20px; background: lime;"/> |
+ </div> |
+ </td> |
+ </tr> |
+ <tr id="row2"> |
+ <td/> |
+ <td/> |
+ <td/> |
+ </tr> |
+ </table> |
+ </body> |
+</html> |