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 2004, 2005, 2010 Rob Buis <buis@kde.org> | 3 2004, 2005, 2010 Rob Buis <buis@kde.org> |
4 Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 Copyright (C) Research In Motion Limited 2010. All rights reserved. |
5 | 5 |
6 Based on khtml code by: | 6 Based on khtml code by: |
7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) | 8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) |
9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org) | 9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org) |
10 Copyright (C) 2002 Apple Computer, Inc. | 10 Copyright (C) 2002 Apple Computer, Inc. |
(...skipping 12 matching lines...) Expand all Loading... |
23 along with this library; see the file COPYING.LIB. If not, write to | 23 along with this library; see the file COPYING.LIB. If not, write to |
24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 24 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
25 Boston, MA 02110-1301, USA. | 25 Boston, MA 02110-1301, USA. |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 | 29 |
30 #if ENABLE(SVG) | 30 #if ENABLE(SVG) |
31 #include "core/rendering/style/SVGRenderStyle.h" | 31 #include "core/rendering/style/SVGRenderStyle.h" |
32 | 32 |
33 #include "NodeRenderStyle.h" | |
34 #include "SVGStyledElement.h" | 33 #include "SVGStyledElement.h" |
35 #include "core/css/CSSPrimitiveValue.h" | 34 #include "core/css/CSSPrimitiveValue.h" |
36 #include "core/css/CSSValueList.h" | 35 #include "core/css/CSSValueList.h" |
| 36 #include "core/dom/NodeRenderStyle.h" |
37 #include "core/platform/graphics/IntRect.h" | 37 #include "core/platform/graphics/IntRect.h" |
38 | 38 |
39 using namespace std; | 39 using namespace std; |
40 | 40 |
41 namespace WebCore { | 41 namespace WebCore { |
42 | 42 |
43 SVGRenderStyle::SVGRenderStyle() | 43 SVGRenderStyle::SVGRenderStyle() |
44 { | 44 { |
45 static SVGRenderStyle* defaultStyle = new SVGRenderStyle(CreateDefault); | 45 static SVGRenderStyle* defaultStyle = new SVGRenderStyle(CreateDefault); |
46 | 46 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 228 |
229 if (svg_noninherited_flags.f.maskType != other->svg_noninherited_flags.f.mas
kType) | 229 if (svg_noninherited_flags.f.maskType != other->svg_noninherited_flags.f.mas
kType) |
230 return StyleDifferenceRepaint; | 230 return StyleDifferenceRepaint; |
231 | 231 |
232 return StyleDifferenceEqual; | 232 return StyleDifferenceEqual; |
233 } | 233 } |
234 | 234 |
235 } | 235 } |
236 | 236 |
237 #endif // ENABLE(SVG) | 237 #endif // ENABLE(SVG) |
OLD | NEW |