| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 Element::removedFrom(rootParent); | 317 Element::removedFrom(rootParent); |
| 318 | 318 |
| 319 if (wasInDocument) { | 319 if (wasInDocument) { |
| 320 rebuildAllIncomingReferences(); | 320 rebuildAllIncomingReferences(); |
| 321 removeAllIncomingReferences(); | 321 removeAllIncomingReferences(); |
| 322 } | 322 } |
| 323 | 323 |
| 324 invalidateInstances(); | 324 invalidateInstances(); |
| 325 } | 325 } |
| 326 | 326 |
| 327 void SVGElement::childrenChanged(bool changedByParser, Node* beforeChange, Node*
afterChange, int childCountDelta) | 327 void SVGElement::childrenChanged(const ChildrenChange& change) |
| 328 { | 328 { |
| 329 Element::childrenChanged(changedByParser, beforeChange, afterChange, childCo
untDelta); | 329 Element::childrenChanged(change); |
| 330 | 330 |
| 331 // Invalidate all instances associated with us. | 331 // Invalidate all instances associated with us. |
| 332 if (!changedByParser) | 332 if (!change.byParser) |
| 333 invalidateInstances(); | 333 invalidateInstances(); |
| 334 } | 334 } |
| 335 | 335 |
| 336 CSSPropertyID SVGElement::cssPropertyIdForSVGAttributeName(const QualifiedName&
attrName) | 336 CSSPropertyID SVGElement::cssPropertyIdForSVGAttributeName(const QualifiedName&
attrName) |
| 337 { | 337 { |
| 338 if (!attrName.namespaceURI().isNull()) | 338 if (!attrName.namespaceURI().isNull()) |
| 339 return CSSPropertyInvalid; | 339 return CSSPropertyInvalid; |
| 340 | 340 |
| 341 static HashMap<StringImpl*, CSSPropertyID>* propertyNameToIdMap = 0; | 341 static HashMap<StringImpl*, CSSPropertyID>* propertyNameToIdMap = 0; |
| 342 if (!propertyNameToIdMap) { | 342 if (!propertyNameToIdMap) { |
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1218 Element::trace(visitor); | 1218 Element::trace(visitor); |
| 1219 } | 1219 } |
| 1220 | 1220 |
| 1221 const AtomicString& SVGElement::eventParameterName() | 1221 const AtomicString& SVGElement::eventParameterName() |
| 1222 { | 1222 { |
| 1223 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); | 1223 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); |
| 1224 return evtString; | 1224 return evtString; |
| 1225 } | 1225 } |
| 1226 | 1226 |
| 1227 } | 1227 } |
| OLD | NEW |