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

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

Issue 2836143003: Invalidate border/outline on color change only if they use current color (Closed)
Patch Set: rebaselined 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/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/border-current-color.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/border-current-color.html b/third_party/WebKit/LayoutTests/paint/invalidation/border-current-color.html
new file mode 100644
index 0000000000000000000000000000000000000000..725dab78460202786c3dd9651e837f83c5efde7c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/border-current-color.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+div {
+ margin: 50px;
+ border-width: 10px;
+ border-style: solid;
+ width: 100px;
+ height: 100px;
+}
+</style>
+<div id="fixedColor" style="border-color: blue"></div>
+<div id="currentColor" style="border-color: currentColor"></div>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ fixedColor.style.color = 'green';
+ currentColor.style.color = 'green';
+}
+onload = runRepaintAndPixelTest;
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/border-current-color-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698