Bug 33115
| Summary: | PathElementAddQuadCurveToPoint not handled for <marker> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, krit |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Nikolas Zimmermann
Marker elements don't support paths which contain PathElementAddQuadCurveToPoint elements. See SVGMarkerLayoutInfo, updateMarkerDataForElement() method.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
Following Blink commit: https://chromium.googlesource.com/chromium/src.git/+/7003bed16de3861e47d6bb0287ba4d6bffcfea04
Removed this FIXME:
https://searchfox.org/wubkat/source/Source/WebCore/rendering/svg/SVGMarkerData.h#118
and changed it into:
case PathElement::Type::AddQuadCurveToPoint:
m_inslopePoints[0] = points[0];
m_inslopePoints[1] = points[1];
m_origin = points[1];
break;