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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-colgroup-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-colgroup-initial-empty.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-colgroup-initial-empty.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-colgroup-initial-empty.html
new file mode 100644
index 0000000000000000000000000000000000000000..21854e1abdb7f10a6d014fb882931e9655e7d190
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-colgroup-initial-empty.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<script src="../resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ target[0].style.backgroundColor = 'lightBlue';
+}
+onload = runRepaintAndPixelTest;
+</script>
+<style>
+td {
+ padding: 0 24px;
+ height: 64px;
+}
+</style>
+Test passes if all of the cells in the second column of the table have a blue background.
+<table>
+ <colgroup></colgroup>
+ <colgroup id="target"></colgroup>
+ <tr>
+ <td>A</td>
+ <td>B</td>
+ <td>C</td>
+ </tr>
+ <tr>
+ <td>D</td>
+ <td id="target" style="will-change: transform">E</td>
+ <td>F</td>
+ </tr>
+</table>

Powered by Google App Engine
This is Rietveld 408576698