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) 2005 Oliver Hunt <oliver@nerget.com> | 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 reportAttributeParsingError(parseError, name, value); | 123 reportAttributeParsingError(parseError, name, value); |
124 } | 124 } |
125 | 125 |
126 void SVGFELightElement::svgAttributeChanged(const QualifiedName& attrName) | 126 void SVGFELightElement::svgAttributeChanged(const QualifiedName& attrName) |
127 { | 127 { |
128 if (!isSupportedAttribute(attrName)) { | 128 if (!isSupportedAttribute(attrName)) { |
129 SVGElement::svgAttributeChanged(attrName); | 129 SVGElement::svgAttributeChanged(attrName); |
130 return; | 130 return; |
131 } | 131 } |
132 | 132 |
133 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 133 SVGElement::InvalidationGuard invalidationGuard(this); |
134 | 134 |
135 if (attrName == SVGNames::azimuthAttr | 135 if (attrName == SVGNames::azimuthAttr |
136 || attrName == SVGNames::elevationAttr | 136 || attrName == SVGNames::elevationAttr |
137 || attrName == SVGNames::xAttr | 137 || attrName == SVGNames::xAttr |
138 || attrName == SVGNames::yAttr | 138 || attrName == SVGNames::yAttr |
139 || attrName == SVGNames::zAttr | 139 || attrName == SVGNames::zAttr |
140 || attrName == SVGNames::pointsAtXAttr | 140 || attrName == SVGNames::pointsAtXAttr |
141 || attrName == SVGNames::pointsAtYAttr | 141 || attrName == SVGNames::pointsAtYAttr |
142 || attrName == SVGNames::pointsAtZAttr | 142 || attrName == SVGNames::pointsAtZAttr |
143 || attrName == SVGNames::specularExponentAttr | 143 || attrName == SVGNames::specularExponentAttr |
(...skipping 26 matching lines...) Expand all Loading... |
170 if (!changedByParser) { | 170 if (!changedByParser) { |
171 if (ContainerNode* parent = parentNode()) { | 171 if (ContainerNode* parent = parentNode()) { |
172 RenderObject* renderer = parent->renderer(); | 172 RenderObject* renderer = parent->renderer(); |
173 if (renderer && renderer->isSVGResourceFilterPrimitive()) | 173 if (renderer && renderer->isSVGResourceFilterPrimitive()) |
174 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); | 174 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); |
175 } | 175 } |
176 } | 176 } |
177 } | 177 } |
178 | 178 |
179 } | 179 } |
OLD | NEW |