| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 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 12 matching lines...) Expand all Loading... |
| 23 #include "core/svg/SVGTextContentElement.h" | 23 #include "core/svg/SVGTextContentElement.h" |
| 24 | 24 |
| 25 #include "CSSPropertyNames.h" | 25 #include "CSSPropertyNames.h" |
| 26 #include "CSSValueKeywords.h" | 26 #include "CSSValueKeywords.h" |
| 27 #include "SVGNames.h" | 27 #include "SVGNames.h" |
| 28 #include "XMLNames.h" | 28 #include "XMLNames.h" |
| 29 #include "core/editing/FrameSelection.h" | 29 #include "core/editing/FrameSelection.h" |
| 30 #include "core/page/Frame.h" | 30 #include "core/page/Frame.h" |
| 31 #include "core/rendering/RenderObject.h" | 31 #include "core/rendering/RenderObject.h" |
| 32 #include "core/rendering/svg/RenderSVGResource.h" | 32 #include "core/rendering/svg/RenderSVGResource.h" |
| 33 #include "core/rendering/svg/RenderSVGText.h" | |
| 34 #include "core/rendering/svg/SVGTextQuery.h" | 33 #include "core/rendering/svg/SVGTextQuery.h" |
| 35 #include "core/svg/SVGDocumentExtensions.h" | |
| 36 #include "core/svg/SVGElementInstance.h" | 34 #include "core/svg/SVGElementInstance.h" |
| 37 | 35 |
| 38 namespace WebCore { | 36 namespace WebCore { |
| 39 | 37 |
| 40 // Define custom animated property 'textLength'. | 38 // Define custom animated property 'textLength'. |
| 41 const SVGPropertyInfo* SVGTextContentElement::textLengthPropertyInfo() | 39 const SVGPropertyInfo* SVGTextContentElement::textLengthPropertyInfo() |
| 42 { | 40 { |
| 43 static const SVGPropertyInfo* s_propertyInfo = 0; | 41 static const SVGPropertyInfo* s_propertyInfo = 0; |
| 44 if (!s_propertyInfo) { | 42 if (!s_propertyInfo) { |
| 45 s_propertyInfo = new SVGPropertyInfo(AnimatedLength, | 43 s_propertyInfo = new SVGPropertyInfo(AnimatedLength, |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 && !node->hasTagName(SVGNames::altGlyphTag) | 311 && !node->hasTagName(SVGNames::altGlyphTag) |
| 314 #endif | 312 #endif |
| 315 && !node->hasTagName(SVGNames::trefTag) | 313 && !node->hasTagName(SVGNames::trefTag) |
| 316 && !node->hasTagName(SVGNames::textPathTag)) | 314 && !node->hasTagName(SVGNames::textPathTag)) |
| 317 return 0; | 315 return 0; |
| 318 | 316 |
| 319 return static_cast<SVGTextContentElement*>(node); | 317 return static_cast<SVGTextContentElement*>(node); |
| 320 } | 318 } |
| 321 | 319 |
| 322 } | 320 } |
| OLD | NEW |