OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 #include "config.h" | 23 #include "config.h" |
24 | 24 |
25 #if ENABLE(SVG_FONTS) | 25 #if ENABLE(SVG_FONTS) |
26 #include "core/svg/SVGAltGlyphElement.h" | 26 #include "core/svg/SVGAltGlyphElement.h" |
27 | 27 |
28 #include "SVGNames.h" | 28 #include "SVGNames.h" |
29 #include "XLinkNames.h" | 29 #include "XLinkNames.h" |
30 #include "core/dom/ExceptionCode.h" | 30 #include "core/dom/ExceptionCode.h" |
31 #include "core/dom/NodeRenderingContext.h" | 31 #include "core/dom/NodeRenderingContext.h" |
32 #include "core/rendering/RenderInline.h" | |
33 #include "core/rendering/svg/RenderSVGTSpan.h" | 32 #include "core/rendering/svg/RenderSVGTSpan.h" |
34 #include "core/svg/SVGAltGlyphDefElement.h" | 33 #include "core/svg/SVGAltGlyphDefElement.h" |
35 #include "core/svg/SVGGlyphElement.h" | |
36 | 34 |
37 namespace WebCore { | 35 namespace WebCore { |
38 | 36 |
39 // Animated property definitions | 37 // Animated property definitions |
40 DEFINE_ANIMATED_STRING(SVGAltGlyphElement, XLinkNames::hrefAttr, Href, href) | 38 DEFINE_ANIMATED_STRING(SVGAltGlyphElement, XLinkNames::hrefAttr, Href, href) |
41 | 39 |
42 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAltGlyphElement) | 40 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAltGlyphElement) |
43 REGISTER_LOCAL_ANIMATED_PROPERTY(href) | 41 REGISTER_LOCAL_ANIMATED_PROPERTY(href) |
44 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextPositioningElement) | 42 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextPositioningElement) |
45 END_REGISTER_ANIMATED_PROPERTIES | 43 END_REGISTER_ANIMATED_PROPERTIES |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 if (element->hasTagName(SVGNames::altGlyphDefTag) | 102 if (element->hasTagName(SVGNames::altGlyphDefTag) |
105 && static_cast<SVGAltGlyphDefElement*>(element)->hasValidGlyphElements(g
lyphNames)) | 103 && static_cast<SVGAltGlyphDefElement*>(element)->hasValidGlyphElements(g
lyphNames)) |
106 return true; | 104 return true; |
107 | 105 |
108 return false; | 106 return false; |
109 } | 107 } |
110 | 108 |
111 } | 109 } |
112 | 110 |
113 #endif | 111 #endif |
OLD | NEW |