| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann |
| 3 * <zimmermann@kde.org> | 3 * <zimmermann@kde.org> |
| 4 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
| 5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 6 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 7 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 7 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 } | 306 } |
| 307 | 307 |
| 308 void SVGElement::clearAnimatedAttribute(const QualifiedName& attribute) { | 308 void SVGElement::clearAnimatedAttribute(const QualifiedName& attribute) { |
| 309 forSelfAndInstances(this, [&attribute](SVGElement* element) { | 309 forSelfAndInstances(this, [&attribute](SVGElement* element) { |
| 310 if (SVGAnimatedPropertyBase* animatedProperty = | 310 if (SVGAnimatedPropertyBase* animatedProperty = |
| 311 element->propertyFromAttribute(attribute)) | 311 element->propertyFromAttribute(attribute)) |
| 312 animatedProperty->animationEnded(); | 312 animatedProperty->animationEnded(); |
| 313 }); | 313 }); |
| 314 } | 314 } |
| 315 | 315 |
| 316 AffineTransform SVGElement::localCoordinateSpaceTransform(CTMScope) const { | 316 AffineTransform SVGElement::localCoordinateSpaceTransform() const { |
| 317 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement | 317 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement |
| 318 // and SVGPatternElement) | 318 // and SVGPatternElement) |
| 319 return AffineTransform(); | 319 return AffineTransform(); |
| 320 } | 320 } |
| 321 | 321 |
| 322 bool SVGElement::hasTransform(ApplyMotionTransform applyMotionTransform) const { | 322 bool SVGElement::hasTransform(ApplyMotionTransform applyMotionTransform) const { |
| 323 return (layoutObject() && layoutObject()->styleRef().hasTransform()) || | 323 return (layoutObject() && layoutObject()->styleRef().hasTransform()) || |
| 324 (applyMotionTransform == IncludeMotionTransform && hasSVGRareData()); | 324 (applyMotionTransform == IncludeMotionTransform && hasSVGRareData()); |
| 325 } | 325 } |
| 326 | 326 |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1302 visitor->trace(m_className); | 1302 visitor->trace(m_className); |
| 1303 Element::trace(visitor); | 1303 Element::trace(visitor); |
| 1304 } | 1304 } |
| 1305 | 1305 |
| 1306 const AtomicString& SVGElement::eventParameterName() { | 1306 const AtomicString& SVGElement::eventParameterName() { |
| 1307 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); | 1307 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); |
| 1308 return evtString; | 1308 return evtString; |
| 1309 } | 1309 } |
| 1310 | 1310 |
| 1311 } // namespace blink | 1311 } // namespace blink |
| OLD | NEW |