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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-composited-row-initial-empty.html

Issue 2515573002: Fix painting background for composited table cells in a non-composited row. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-composited-row-initial-empty.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-composited-row-initial-empty.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-composited-row-initial-empty.html
new file mode 100644
index 0000000000000000000000000000000000000000..899db1032665419ffe046d760cfde22228b717f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-composited-row-initial-empty.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<script src="../resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ target.style.backgroundColor = 'lightBlue';
+}
+onload = runRepaintAndPixelTest;
+</script>
+<style>
+td {
+ padding: 0 24px;
+ height: 64px;
+}
+</style>
+Test passes if all of the cells in the second row of the table have a blue background.
+<table>
+ <tr>
+ <td>A</td>
+ <td>B</td>
+ <td>C</td>
+ </tr>
+ <tr id="target" style="will-change: transform;">
+ <td>D</td>
+ <td style="will-change: transform;">E</td>
+ <td>F</td>
+ </tr>
+</table>

Powered by Google App Engine
This is Rietveld 408576698