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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2394383002: Preserve original border colors for border-style inset | outset. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index 12e6b65913f6a082e81a0f28a4257456900584ed..86848103874ab9e7becda127cf1c68218e9da3c4 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -2030,8 +2030,7 @@ Color ComputedStyle::colorIncludingFallback(int colorProperty,
// FIXME: Treating styled borders with initial color differently causes
// problems, see crbug.com/316559, crbug.com/276231
if (!visitedLink &&
- (borderStyle == BorderStyleInset || borderStyle == BorderStyleOutset ||
- borderStyle == BorderStyleRidge || borderStyle == BorderStyleGroove))
+ (borderStyle == BorderStyleRidge || borderStyle == BorderStyleGroove))
return Color(238, 238, 238);
return visitedLink ? visitedLinkColor() : color();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698