Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
index 2b4ff3ae4788c600ffd16d197726f40d025ffade..541e31ff4a7011ea66fef49dd498cb2f2f5f5c63 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -56,6 +56,7 @@ |
#include "core/style/PathStyleMotionPath.h" |
#include "core/style/QuotesData.h" |
#include "core/style/ShadowList.h" |
+#include "core/svg/SVGPathUtilities.h" |
#include "platform/LengthFunctions.h" |
namespace blink { |
@@ -2605,6 +2606,12 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID |
case CSSPropertyMarker: |
// the above properties are not yet implemented in the engine |
return nullptr; |
+ case CSSPropertyD: { |
+ String pathString; |
+ if (svgStyle.d()) |
+ pathString = buildStringFromByteStream(*svgStyle.d(), UnalteredParsing); |
+ return CSSStringValue::create(pathString); |
+ } |
case CSSPropertyCx: |
return zoomAdjustedPixelValueForLength(svgStyle.cx(), style); |
case CSSPropertyCy: |