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

Unified Diff: Source/core/style/SVGComputedStyle.h

Issue 1048043002: Fix pointer-events:all when stroke="none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 8 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/layout/svg/LayoutSVGShape.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « Source/core/layout/svg/LayoutSVGShape.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698