OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 if (changedByParser) | 180 if (changedByParser) |
181 return; | 181 return; |
182 | 182 |
183 if (RenderObject* object = renderer()) | 183 if (RenderObject* object = renderer()) |
184 object->setNeedsLayout(true); | 184 object->setNeedsLayout(true); |
185 } | 185 } |
186 | 186 |
187 RenderObject* SVGFilterElement::createRenderer(RenderStyle*) | 187 RenderObject* SVGFilterElement::createRenderer(RenderStyle*) |
188 { | 188 { |
189 return new (document()->renderArena()) RenderSVGResourceFilter(this); | 189 return new RenderSVGResourceFilter(this); |
190 } | 190 } |
191 | 191 |
192 bool SVGFilterElement::childShouldCreateRenderer(const NodeRenderingContext& chi
ldContext) const | 192 bool SVGFilterElement::childShouldCreateRenderer(const NodeRenderingContext& chi
ldContext) const |
193 { | 193 { |
194 if (!childContext.node()->isSVGElement()) | 194 if (!childContext.node()->isSVGElement()) |
195 return false; | 195 return false; |
196 | 196 |
197 SVGElement* svgElement = toSVGElement(childContext.node()); | 197 SVGElement* svgElement = toSVGElement(childContext.node()); |
198 | 198 |
199 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, allowedChildElementTags, ()); | 199 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, allowedChildElementTags, ()); |
(...skipping 30 matching lines...) Expand all Loading... |
230 | 230 |
231 bool SVGFilterElement::selfHasRelativeLengths() const | 231 bool SVGFilterElement::selfHasRelativeLengths() const |
232 { | 232 { |
233 return xCurrentValue().isRelative() | 233 return xCurrentValue().isRelative() |
234 || yCurrentValue().isRelative() | 234 || yCurrentValue().isRelative() |
235 || widthCurrentValue().isRelative() | 235 || widthCurrentValue().isRelative() |
236 || heightCurrentValue().isRelative(); | 236 || heightCurrentValue().isRelative(); |
237 } | 237 } |
238 | 238 |
239 } | 239 } |
OLD | NEW |