Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/cached-69296.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698