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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/table-with-padding-row-invalidation.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 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0;
5 }
6
7 table {
8 border-collapse: collapse;
9 padding: 4px;
10 }
11
12 tr {
13 background: red;
14 }
15
16 td {
17 width: 260px;
18 height: 50px;
19 /* Disable the cell padding for output simplicity. */
20 padding: 0;
21 }
22 </style>
23 <!--
24 This test checks that we correctly invalidate a row on a table with padding.
25 There should be no red below.
26 -->
27 <table>
28 <td></td>
29 </table>
30 <script src="../../resources/run-after-layout-and-paint.js"></script>
31 <script src="resources/text-based-repaint.js"></script>
32 <script>
33 repaintTest = function() {
34 var row = document.getElementsByTagName("tr")[0];
35 row.style.background = "green";
36 }
37
38 runAfterLayoutAndPaint(function() {
39 runRepaintAndPixelTest();
40 });
41 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698