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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/cached-change-col-border-color-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 Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed. 2 Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed.
3 Here we change col border color, expect that cache is invalidated and paint prod uces expected image. 3 Here we change col border color, expect that cache is invalidated and paint prod uces expected image.
4 --> 4 -->
5 <html> 5 <html>
6 <head> 6 <head>
7 <title></title> 7 <title></title>
8 <link rel="stylesheet" href="resources/cached.css"> 8 <link rel="stylesheet" href="../../../fast/table/border-collapsing/resou rces/cached.css">
9 <script src="../../../fast/repaint/resources/text-based-repaint.js"></sc ript>
10 <script type="text/javascript">
11 function repaintTest() {
12 document.getElementById("col").style.borderColor = "yellow";
13 }
14 </script>
15 </head> 9 </head>
16 <body onload="runRepaintTest()"> 10 <body>
17 <table style="border-collapse:collapse; border:1px solid blue"> 11 <table style="border-collapse:collapse; border:1px solid blue">
18 <colgroup> 12 <colgroup>
19 <col style="border:4px solid pink" id="col"> 13 <col style="border:4px solid yellow" id="col">
20 <col> 14 <col>
21 </colgroup> 15 </colgroup>
22 <tbody> 16 <tbody>
23 <tr> 17 <tr>
24 <td style="border:2px solid lime"/> 18 <td style="border:2px solid lime"/>
25 <td/> 19 <td/>
26 </tr> 20 </tr>
27 <tr> 21 <tr>
28 <td/> 22 <td/>
29 <td/> 23 <td/>
30 </tr> 24 </tr>
31 </tbody> 25 </tbody>
32 </table> 26 </table>
33 </body> 27 </body>
34 </html> 28 </html>
35 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698