| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 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 14 matching lines...) Expand all Loading... |
| 25 #include "config.h" | 25 #include "config.h" |
| 26 | 26 |
| 27 #if ENABLE(SVG) | 27 #if ENABLE(SVG) |
| 28 #include "SVGAnimationElement.h" | 28 #include "SVGAnimationElement.h" |
| 29 | 29 |
| 30 #include "Attribute.h" | 30 #include "Attribute.h" |
| 31 #include "CSSComputedStyleDeclaration.h" | 31 #include "CSSComputedStyleDeclaration.h" |
| 32 #include "CSSParser.h" | 32 #include "CSSParser.h" |
| 33 #include "CSSPropertyNames.h" | 33 #include "CSSPropertyNames.h" |
| 34 #include "Document.h" | 34 #include "Document.h" |
| 35 #include "FloatConversion.h" | |
| 36 #include "RenderObject.h" | 35 #include "RenderObject.h" |
| 37 #include "SVGAnimateElement.h" | 36 #include "SVGAnimateElement.h" |
| 38 #include "SVGElementInstance.h" | 37 #include "SVGElementInstance.h" |
| 39 #include "SVGNames.h" | 38 #include "SVGNames.h" |
| 40 #include "SVGParserUtilities.h" | 39 #include "SVGParserUtilities.h" |
| 41 #include "SVGStyledElement.h" | 40 #include "SVGStyledElement.h" |
| 41 #include "core/platform/FloatConversion.h" |
| 42 #include <wtf/MathExtras.h> | 42 #include <wtf/MathExtras.h> |
| 43 | 43 |
| 44 namespace WebCore { | 44 namespace WebCore { |
| 45 | 45 |
| 46 // Animated property definitions | 46 // Animated property definitions |
| 47 DEFINE_ANIMATED_BOOLEAN(SVGAnimationElement, SVGNames::externalResourcesRequired
Attr, ExternalResourcesRequired, externalResourcesRequired) | 47 DEFINE_ANIMATED_BOOLEAN(SVGAnimationElement, SVGNames::externalResourcesRequired
Attr, ExternalResourcesRequired, externalResourcesRequired) |
| 48 | 48 |
| 49 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAnimationElement) | 49 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAnimationElement) |
| 50 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) | 50 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) |
| 51 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) | 51 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 } | 695 } |
| 696 | 696 |
| 697 void SVGAnimationElement::checkInvalidCSSAttributeType(SVGElement* target) | 697 void SVGAnimationElement::checkInvalidCSSAttributeType(SVGElement* target) |
| 698 { | 698 { |
| 699 m_hasInvalidCSSAttributeType = target && hasValidAttributeName() && attribut
eType() == AttributeTypeCSS && !isTargetAttributeCSSProperty(target, attributeNa
me()); | 699 m_hasInvalidCSSAttributeType = target && hasValidAttributeName() && attribut
eType() == AttributeTypeCSS && !isTargetAttributeCSSProperty(target, attributeNa
me()); |
| 700 } | 700 } |
| 701 | 701 |
| 702 } | 702 } |
| 703 | 703 |
| 704 #endif // ENABLE(SVG) | 704 #endif // ENABLE(SVG) |
| OLD | NEW |