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, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008 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) 2009 Google, Inc. All rights reserved. | 5 * Copyright (C) 2009 Google, Inc. All rights reserved. |
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 10 matching lines...) Expand all Loading... |
21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
22 */ | 22 */ |
23 | 23 |
24 #include "config.h" | 24 #include "config.h" |
25 | 25 |
26 #include "core/rendering/svg/RenderSVGContainer.h" | 26 #include "core/rendering/svg/RenderSVGContainer.h" |
27 | 27 |
28 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 28 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
29 #include "core/rendering/LayoutRepainter.h" | 29 #include "core/rendering/LayoutRepainter.h" |
30 #include "core/rendering/RenderView.h" | 30 #include "core/rendering/RenderView.h" |
31 #include "core/rendering/svg/RenderSVGResource.h" | |
32 #include "core/rendering/svg/RenderSVGResourceFilter.h" | |
33 #include "core/rendering/svg/SVGRenderingContext.h" | 31 #include "core/rendering/svg/SVGRenderingContext.h" |
34 #include "core/rendering/svg/SVGResources.h" | 32 #include "core/rendering/svg/SVGResources.h" |
35 #include "core/rendering/svg/SVGResourcesCache.h" | 33 #include "core/rendering/svg/SVGResourcesCache.h" |
36 #include "core/svg/SVGStyledElement.h" | |
37 | 34 |
38 namespace WebCore { | 35 namespace WebCore { |
39 | 36 |
40 RenderSVGContainer::RenderSVGContainer(SVGStyledElement* node) | 37 RenderSVGContainer::RenderSVGContainer(SVGStyledElement* node) |
41 : RenderSVGModelObject(node) | 38 : RenderSVGModelObject(node) |
42 , m_objectBoundingBoxValid(false) | 39 , m_objectBoundingBoxValid(false) |
43 , m_needsBoundariesUpdate(true) | 40 , m_needsBoundariesUpdate(true) |
44 { | 41 { |
45 } | 42 } |
46 | 43 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 return true; | 181 return true; |
185 } | 182 } |
186 } | 183 } |
187 | 184 |
188 // Spec: Only graphical elements can be targeted by the mouse, period. | 185 // Spec: Only graphical elements can be targeted by the mouse, period. |
189 // 16.4: "If there are no graphics elements whose relevant graphics content
is under the pointer (i.e., there is no target element), the event is not dispat
ched." | 186 // 16.4: "If there are no graphics elements whose relevant graphics content
is under the pointer (i.e., there is no target element), the event is not dispat
ched." |
190 return false; | 187 return false; |
191 } | 188 } |
192 | 189 |
193 } | 190 } |
OLD | NEW |