Changeset 238464 in webkit
- Timestamp:
- Nov 23, 2018, 2:06:35 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/svg/text/textpath-reference-update-expected.html (added)
-
LayoutTests/svg/text/textpath-reference-update.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/svg/SVGTextPathElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r238460 r238464 1 2018-11-22 Ryosuke Niwa <rniwa@webkit.org> 2 3 Updating href on textPath doesn't update its rendering 4 https://bugs.webkit.org/show_bug.cgi?id=191920 5 6 Reviewed by Dean Jackson. 7 8 Added a ref test. 9 10 * svg/text/textpath-reference-update-expected.html: Added. 11 * svg/text/textpath-reference-update.html: Added. 12 1 13 2018-11-23 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r238463 r238464 1 2018-11-22 Ryosuke Niwa <rniwa@webkit.org> 2 3 Updating href on textPath doesn't update its rendering 4 https://bugs.webkit.org/show_bug.cgi?id=191920 5 6 Reviewed by Dean Jackson. 7 8 Fixed the bug by invalidating the RenderSVGResource in SVGTextPathElement::svgAttributeChanged 9 in addition to updating the pending resources. 10 11 Test: svg/text/textpath-reference-update.html 12 13 * svg/SVGTextPathElement.cpp: 14 (WebCore::SVGTextPathElement::svgAttributeChanged): 15 1 16 2018-11-23 Ross Kirsling <ross.kirsling@sony.com> 2 17 -
trunk/Source/WebCore/svg/SVGTextPathElement.cpp
r238452 r238464 104 104 if (SVGURIReference::isKnownAttribute(attrName)) { 105 105 buildPendingResource(); 106 if (auto renderer = this->renderer()) 107 RenderSVGResource::markForLayoutAndParentResourceInvalidation(*renderer); 106 108 return; 107 109 }
Note:
See TracChangeset
for help on using the changeset viewer.