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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/cached-69296-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Test for bug69296. 2 Test for bug69296.
3 Collapsed borders should not disappear. 3 Collapsed borders should not disappear.
4 --> 4 -->
5 <html> 5 <html>
6 <head> 6 <head>
7 <script src="../../../fast/repaint/resources/text-based-repaint.js"></sc ript>
8 <style> 7 <style>
9 BODY { 8 BODY {
10 margin: 20px; 9 margin: 20px;
11 } 10 }
12 TABLE { 11 TABLE {
13 border-collapse: collapse; 12 border-collapse: collapse;
14 } 13 }
15 TD { 14 TD {
16 width: 50px; 15 width: 50px;
17 height: 50px; 16 height: 50px;
18 border: 1px solid #333333; 17 border: 1px solid #333333;
19 } 18 }
20 #row1:hover {
21 background-color: #ddd;
22 color: #111;
23 }
24 </style> 19 </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> 20 </head>
40 <body onload="runRepaintTest()"> 21 <body>
41 <table> 22 <table>
42 <tr id="row1"> 23 <tr id="row1">
43 <td valign="top"/> 24 <td valign="top"/>
44 <td/> 25 <td/>
45 <td> 26 <td>
46 <div> 27 <div>
47 <div style="width: 20px; height: 20px; background: lime; "/> 28 <div style="width: 20px; height: 20px; background: lime; "/>
48 </div> 29 </div>
49 </td> 30 </td>
50 </tr> 31 </tr>
51 <tr id="row2"> 32 <tr id="row2">
52 <td/> 33 <td/>
53 <td/> 34 <td/>
54 <td/> 35 <td/>
55 </tr> 36 </tr>
56 </table> 37 </table>
57 </body> 38 </body>
58 </html> 39 </html>
OLDNEW
« no previous file with comments | « LayoutTests/paint/invalidation/spv2/cached-69296.html ('k') | LayoutTests/paint/invalidation/spv2/cached-cell-append.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698