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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp

Issue 2753013004: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text
Patch Set: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text Created 3 years, 9 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
Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
index b889167009068d81c81dbbf982bba0884c5b18ab..ee46939ee6dc98c262afe739e66378a94bf9bdbc 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
@@ -455,9 +455,9 @@ void SVGLayoutSupport::applyStrokeStyleToStrokeData(StrokeData& strokeData,
const SVGComputedStyle& svgStyle = style.svgStyle();
SVGLengthContext lengthContext(toSVGElement(object.node()));
- strokeData.setThickness(lengthContext.valueForLength(svgStyle.strokeWidth()));
- strokeData.setLineCap(svgStyle.capStyle());
- strokeData.setLineJoin(svgStyle.joinStyle());
+ strokeData.setThickness(lengthContext.valueForLength(style.strokeWidth()));
+ strokeData.setLineCap(style.capStyle());
+ strokeData.setLineJoin(style.joinStyle());
strokeData.setMiterLimit(svgStyle.strokeMiterLimit());
DashArray dashArray =

Powered by Google App Engine
This is Rietveld 408576698