Index: third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-current-color.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-current-color.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-current-color.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0d5c3ae4b9b5361f0e4c29bab3f7c3b4dbaa9b03 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-current-color.html |
@@ -0,0 +1,30 @@ |
+<!DOCTYPE html> |
+<style> |
+table { |
+ border-collapse: collapse; |
+ margin: 30px; |
+} |
+td { |
+ width: 100px; |
+ height: 50px; |
+} |
+.border { |
+ border: 10px solid currentColor; |
+} |
+</style> |
+All borders should change to green. |
+<table class="border"><tr><td></td></tr></table> |
+<table><colgroup><col class="border"></colgroup><tr><td></td></tr></table> |
+<!-- |
+TODO(wangxianzhu): Enable these after crbug.com/626748 is fixed. |
+<table><tbody class="border"><tr><td></td></tr></tbody></table> |
+<table><tr class="border"><td></td></tr></table> |
+--> |
+<table><tr><td class="border"></td></tr></table> |
+<script src="../../../resources/run-after-layout-and-paint.js"></script> |
+<script> |
+runAfterLayoutAndPaint(function() { |
+ document.body.style.color = 'green'; |
+}, true); |
+</script> |
+ |