Changeset 249216 in webkit
- Timestamp:
- Aug 28, 2019 12:57:00 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r249214 r249216 1 2019-08-28 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 XLinkNames namespace is required before the 'href' attribute of SVG animate elements 4 https://bugs.webkit.org/show_bug.cgi?id=201227 5 6 Reviewed by Ryosuke Niwa. 7 8 * svg/custom/href-svg-namespace-animate-target-expected.svg: Added. 9 * svg/custom/href-svg-namespace-animate-target.svg: Added. 10 1 11 2019-08-28 Myles C. Maxfield <mmaxfield@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r249215 r249216 1 2019-08-28 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 XLinkNames namespace is required before the 'href' attribute of SVG animate elements 4 https://bugs.webkit.org/show_bug.cgi?id=201227 5 6 Reviewed by Ryosuke Niwa. 7 8 To get the animation target element, get the value of the "href" attribute 9 or the "xlink:href" attribute. 10 11 Tests: svg/custom/href-svg-namespace-animate-target.svg 12 13 * svg/animation/SVGSMILElement.cpp: 14 (WebCore::SVGSMILElement::buildPendingResource): 15 1 16 2019-08-28 Truitt Savell <tsavell@apple.com> 2 17 -
trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp
r247102 r249216 182 182 String id; 183 183 RefPtr<Element> target; 184 auto& href = getAttribute( XLinkNames::hrefAttr);184 auto& href = getAttribute(SVGNames::hrefAttr, XLinkNames::hrefAttr); 185 185 if (href.isEmpty()) 186 186 target = parentElement();
Note: See TracChangeset
for help on using the changeset viewer.