Changeset 74629 in webkit
- Timestamp:
- Dec 24, 2010 3:54:24 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r74627 r74629 1 2010-12-24 Justin Schuh <jschuh@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 setTargetAttributeAnimatedValue should check for a null shadowTreeElement. 6 https://bugs.webkit.org/show_bug.cgi?id=51576 7 8 * svg/custom/animate-disallowed-use-element-expected.txt: Added. 9 * svg/custom/animate-disallowed-use-element.svg: Added. 10 1 11 2010-12-24 Andrei Popescu <andreip@google.com> 2 12 -
trunk/WebCore/ChangeLog
r74628 r74629 1 2010-12-24 Justin Schuh <jschuh@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 setTargetAttributeAnimatedValue should check for a null shadowTreeElement. 6 https://bugs.webkit.org/show_bug.cgi?id=51576 7 8 Disallowed elements may be pruned from the shadow tree, leaving a null 9 shadowTreeElement. We should check for that before setting attributes. 10 11 Test: svg/custom/animate-disallowed-use-element.svg 12 13 * svg/SVGAnimationElement.cpp: 14 (WebCore::SVGAnimationElement::setTargetAttributeAnimatedValue): 15 1 16 2010-12-24 Evan Martin <evan@chromium.org> 2 17 -
trunk/WebCore/svg/SVGAnimationElement.cpp
r74472 r74629 353 353 for (HashSet<SVGElementInstance*>::const_iterator it = instances.begin(); it != end; ++it) { 354 354 SVGElement* shadowTreeElement = (*it)->shadowTreeElement(); 355 ASSERT(shadowTreeElement); 355 if (!shadowTreeElement) 356 continue; 356 357 if (isCSS) 357 358 shadowTreeElement->style()->setProperty(attributeName, value, "", ec);
Note: See TracChangeset
for help on using the changeset viewer.