Index: third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b3f51b3c2114e781796ffbfc10216c62c9e51296 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-row-change-collapsed-border-color.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<p style="height: 50px">Passes if green borders are visible surrounding A's cell and no red. |
+<table style="border-collapse: collapse;"> |
+ <tr id="a" style="border: 5px solid red; will-change: transform"> |
+ <td style="width: 100px; height: 100px">A</td> |
+ </tr> |
+</table> |
+<script src="../resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ a.style.borderColor = 'green'; |
+} |
+onload = runRepaintAndPixelTest; |
+</script> |