Changeset 153433 in webkit
- Timestamp:
- Jul 29, 2013, 10:45:51 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r153432 r153433 1 2013-07-29 Renata Hodovan <reni@webkit.org> 2 3 ASSERT_NOT_REACHED was touched in WebCore::SVGAnimatedType::valueAsString 4 https://bugs.webkit.org/show_bug.cgi?id=118744 5 6 Reviewed by Philip Rogers. 7 8 Adding test to check whether attributeName and attributeType are consistent in <animateTransform>. 9 10 * platform/qt/svg/animations/attributeNameAndAttributeTypeMissmatch-expected.txt: Added. 11 * svg/animations/attributeNameAndAttributeTypeMissmatch.svg: Added. 12 1 13 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r153431 r153433 1 2013-07-29 Renata Hodovan <reni@webkit.org> 2 3 ASSERT_NOT_REACHED was touched in WebCore::SVGAnimatedType::valueAsString 4 https://bugs.webkit.org/show_bug.cgi?id=118744 5 6 Reviewed by Philip Rogers. 7 8 If we have an <animateTransform> tag that sets the attributeName and attributeType 9 properties however they are not consistent and we shouldn't try to apply it. 10 It is already checked and catched in SVGAnimateElement::resetAnimatedType() but 11 DontApplyAnimation case isn't handled properly. The patch forces an early return 12 in this case. 13 14 Test: svg/animations/attributeNameAndAttributeTypeMissmatch.svg 15 16 * svg/SVGAnimateElement.cpp: 17 (WebCore::SVGAnimateElement::resetAnimatedType): 18 1 19 2013-07-29 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 20 -
trunk/Source/WebCore/svg/SVGAnimateElement.cpp
r148403 r153433 206 206 const QualifiedName& attributeName = this->attributeName(); 207 207 ShouldApplyAnimation shouldApply = shouldApplyAnimation(targetElement, attributeName); 208 209 if (shouldApply == DontApplyAnimation) 210 return; 211 208 212 if (shouldApply == ApplyXMLAnimation) { 209 213 // SVG DOM animVal animation code-path.
Note:
See TracChangeset
for help on using the changeset viewer.