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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-section.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-section.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-section.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-section.html
new file mode 100644
index 0000000000000000000000000000000000000000..e0b7835c37968789f3a80178f116f7c2b6d91fa8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-table-background-section.html
@@ -0,0 +1,29 @@
+<!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 table have a blue background.
+<table>
+ <tbody id="target" style="will-change: transform; background-color: red">
+ <tr>
+ <td>A</td>
+ <td>B</td>
+ <td>C</td>
+ </tr>
+ <tr>
+ <td>D</td>
+ <td style="will-change: transform">E</td>
+ <td>F</td>
+ </tr>
+ </tbody>
+</table>

Powered by Google App Engine
This is Rietveld 408576698