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

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

Powered by Google App Engine
This is Rietveld 408576698