Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-current-color.html

Issue 2838643003: Invalidate collapsed borders using currentColor when color changes (Closed)
Patch Set: - Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-current-color-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/table/collapsed-border-current-color-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698