Index: third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..96981e21901cd00d50844fef20838fa1e220ccd1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-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> |
+ <td id="a" style="border: 5px solid red; width: 100px; height: 100px; will-change: transform">A</td> |
+ </tr> |
+</table> |
+<script src="../resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ a.style.borderColor = 'green'; |
+} |
+onload = runRepaintAndPixelTest; |
+</script> |