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

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

Issue 1173663003: BoxBorderPainter should use computed color alpha (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/ComputedStyle.cpp
diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp
index aca2e941f6a1bf3d55f75c0322887705b9ed81db..eada38cc585ce865618040b08880b40e064fe1a7 100644
--- a/Source/core/style/ComputedStyle.cpp
+++ b/Source/core/style/ComputedStyle.cpp
@@ -1715,25 +1715,21 @@ void ComputedStyle::getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLef
edges[BSTop] = BorderEdge(borderTopWidth(),
visitedDependentColor(CSSPropertyBorderTopColor),
borderTopStyle(),
- borderTopIsTransparent(),
horizontal || includeLogicalLeftEdge);
edges[BSRight] = BorderEdge(borderRightWidth(),
visitedDependentColor(CSSPropertyBorderRightColor),
borderRightStyle(),
- borderRightIsTransparent(),
!horizontal || includeLogicalRightEdge);
edges[BSBottom] = BorderEdge(borderBottomWidth(),
visitedDependentColor(CSSPropertyBorderBottomColor),
borderBottomStyle(),
- borderBottomIsTransparent(),
horizontal || includeLogicalRightEdge);
edges[BSLeft] = BorderEdge(borderLeftWidth(),
visitedDependentColor(CSSPropertyBorderLeftColor),
borderLeftStyle(),
- borderLeftIsTransparent(),
!horizontal || includeLogicalLeftEdge);
}
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698