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> |