Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / repaint-table-row-in-composited-document.html
blobf5be754e3904aa49cae29df9083a1cde37f7768a
1 <!-- Based on fast/repaint/repaint-table-row-in-composited-document.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
6 <style>
7 td {
8 width: 200px;
9 height: 100px;
11 body {
12 margin: 50px;
14 </style>
15 <script type="text/javascript">
16 window.expectedPaintInvalidationObjects = [
17 "LayoutTableCell TD id='target'",
18 "LayoutTableRow TR",
19 "LayoutTableCell TD",
20 "LayoutTableCell TD",
22 function paintInvalidationTest()
24 // The sizes on this test are deliberate to ensure that we don't trigger
25 // any repaints within the tile the green td starts in, otherwise the
26 // compositor's repaint algorithm hides the issue visually. The issue will
27 // still show up in the text results.
28 var target = document.getElementById('target');
29 target.style.height = '250px';
31 </script>
32 </head>
33 <body onload="runPaintInvalidationTest();">
34 <table>
35 <tr>
36 <td id="target">
37 </td>
38 </tr>
39 <tr>
40 <td>
41 </td>
42 <td style="border: 1px solid black; background-color: green;">
43 </td>
44 </tr>
45 </table>
46 </body>