Index: third_party/WebKit/LayoutTests/paint/tables/composited-table-background.html |
diff --git a/third_party/WebKit/LayoutTests/paint/tables/composited-table-background.html b/third_party/WebKit/LayoutTests/paint/tables/composited-table-background.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..528dfe579631e695b3a9c971a26bd87ae8a5352a |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/tables/composited-table-background.html |
@@ -0,0 +1,26 @@ |
+<!doctype html> |
+<script src="../../resources/run-after-layout-and-paint.js"></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"> |
+ <td>D</td> |
+ <td style="will-change: transform;">E</td> |
+ <td>F</td> |
+ </tr> |
+</table> |
+<script> |
+runAfterLayoutAndPaint(function() { |
+ target.style.backgroundColor = 'lightBlue'; |
+}); |
+</script> |