OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2008 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 reportAttributeParsingError(parseError, name, value); | 102 reportAttributeParsingError(parseError, name, value); |
103 } | 103 } |
104 | 104 |
105 void SVGRadialGradientElement::svgAttributeChanged(const QualifiedName& attrName
) | 105 void SVGRadialGradientElement::svgAttributeChanged(const QualifiedName& attrName
) |
106 { | 106 { |
107 if (!isSupportedAttribute(attrName)) { | 107 if (!isSupportedAttribute(attrName)) { |
108 SVGGradientElement::svgAttributeChanged(attrName); | 108 SVGGradientElement::svgAttributeChanged(attrName); |
109 return; | 109 return; |
110 } | 110 } |
111 | 111 |
112 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 112 SVGElement::InvalidationGuard invalidationGuard(this); |
113 | 113 |
114 updateRelativeLengthsInformation(); | 114 updateRelativeLengthsInformation(); |
115 | 115 |
116 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re
nderer()); | 116 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re
nderer()); |
117 if (renderer) | 117 if (renderer) |
118 renderer->invalidateCacheAndMarkForLayout(); | 118 renderer->invalidateCacheAndMarkForLayout(); |
119 } | 119 } |
120 | 120 |
121 RenderObject* SVGRadialGradientElement::createRenderer(RenderStyle*) | 121 RenderObject* SVGRadialGradientElement::createRenderer(RenderStyle*) |
122 { | 122 { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 { | 211 { |
212 return m_cx->currentValue()->isRelative() | 212 return m_cx->currentValue()->isRelative() |
213 || m_cy->currentValue()->isRelative() | 213 || m_cy->currentValue()->isRelative() |
214 || m_r->currentValue()->isRelative() | 214 || m_r->currentValue()->isRelative() |
215 || m_fx->currentValue()->isRelative() | 215 || m_fx->currentValue()->isRelative() |
216 || m_fy->currentValue()->isRelative() | 216 || m_fy->currentValue()->isRelative() |
217 || m_fr->currentValue()->isRelative(); | 217 || m_fr->currentValue()->isRelative(); |
218 } | 218 } |
219 | 219 |
220 } | 220 } |
OLD | NEW |