Index: Source/core/style/SVGComputedStyle.h |
diff --git a/Source/core/style/SVGComputedStyle.h b/Source/core/style/SVGComputedStyle.h |
index 96f0ccb37566a9a1402cddd564aebd5ffc1188d0..616c4d536cf35330a12bb7eb29074b4823845286 100644 |
--- a/Source/core/style/SVGComputedStyle.h |
+++ b/Source/core/style/SVGComputedStyle.h |
@@ -372,6 +372,8 @@ public: |
bool hasMarkers() const { return !markerStartResource().isEmpty() || !markerMidResource().isEmpty() || !markerEndResource().isEmpty(); } |
bool hasStroke() const { return strokePaintType() != SVG_PAINTTYPE_NONE; } |
bool hasVisibleStroke() const { return hasStroke() && !strokeWidth().isZero(); } |
+ bool hasSquareCapStyle() const { return capStyle() == SquareCap; } |
+ bool hasMiterJoinStyle() const { return joinStyle() == MiterJoin; } |
bool hasFill() const { return fillPaintType() != SVG_PAINTTYPE_NONE; } |
bool isVerticalWritingMode() const { return writingMode() == WM_TBRL || writingMode() == WM_TB; } |