| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 virtual bool isValid() const { return SVGTests::isValid(); } | 66 virtual bool isValid() const { return SVGTests::isValid(); } |
| 67 | 67 |
| 68 bool isSupportedAttribute(const QualifiedName&); | 68 bool isSupportedAttribute(const QualifiedName&); |
| 69 virtual void parseMappedAttribute(Attribute*); | 69 virtual void parseMappedAttribute(Attribute*); |
| 70 virtual void svgAttributeChanged(const QualifiedName&); | 70 virtual void svgAttributeChanged(const QualifiedName&); |
| 71 virtual void synchronizeProperty(const QualifiedName&); | 71 virtual void synchronizeProperty(const QualifiedName&); |
| 72 void fillPassedAttributeToPropertyTypeMap(AttributeToPropertyTypeMap&); | 72 void fillPassedAttributeToPropertyTypeMap(AttributeToPropertyTypeMap&); |
| 73 | 73 |
| 74 virtual bool selfHasRelativeLengths() const; | 74 virtual bool selfHasRelativeLengths() const; |
| 75 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); |
| 75 | 76 |
| 76 private: | 77 private: |
| 77 virtual bool isTextContent() const { return true; } | 78 virtual bool isTextContent() const { return true; } |
| 78 | 79 |
| 79 // Animated property declarations | 80 // Animated property declarations |
| 80 void synchronizeTextLength(); | 81 void synchronizeTextLength(); |
| 81 SVGLength m_specifiedTextLength; | 82 SVGLength m_specifiedTextLength; |
| 82 mutable SVGSynchronizableAnimatedProperty<SVGLength> m_textLength; | 83 mutable SVGSynchronizableAnimatedProperty<SVGLength> m_textLength; |
| 83 DECLARE_ANIMATED_ENUMERATION(LengthAdjust, lengthAdjust, SVGLengthAdjustType
) | 84 DECLARE_ANIMATED_ENUMERATION(LengthAdjust, lengthAdjust, SVGLengthAdjustType
) |
| 84 | 85 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 112 if (value == "spacing") | 113 if (value == "spacing") |
| 113 return SVGTextContentElement::LENGTHADJUST_SPACING; | 114 return SVGTextContentElement::LENGTHADJUST_SPACING; |
| 114 return SVGTextContentElement::LENGTHADJUST_UNKNOWN; | 115 return SVGTextContentElement::LENGTHADJUST_UNKNOWN; |
| 115 } | 116 } |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace WebCore | 119 } // namespace WebCore |
| 119 | 120 |
| 120 #endif // ENABLE(SVG) | 121 #endif // ENABLE(SVG) |
| 121 #endif | 122 #endif |
| OLD | NEW |