Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / table-row-bg-change.html
blobc6681ccef8121c4b6726523ed85c8058dabfbc1a
1 <!-- Based on fast/repaint/table-row-bg-change.html -->
2 <html>
3 <head>
4 <title>Test for crbug.com/357291</title>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
6 <script type="text/javascript">
7 window.expectedPaintInvalidationObjects = [
8 "LayoutTableCell TD",
9 "LayoutTableCell TD",
10 "LayoutTableCell TD",
11 "LayoutTableRow TR id='first'",
13 function paintInvalidationTest()
15 var first = document.getElementById('first');
16 first.style.backgroundColor = 'green';
18 </script>
19 <style>
20 table {
21 height: 200px;
22 width: 200px;
24 #first {
25 background-color: red;
27 </style>
29 </head>
30 <body onload="runPaintInvalidationTest()">
31 <table>
32 <tr id="first">
33 <td>A</td>
34 <td>A</td>
35 <td>A</td>
36 </tr>
37 <tr>
38 <td>A</td>
39 <td>A</td>
40 <td>A</td>
41 </tr>
42 </table>
43 </body>
44 </html>