OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 Node::InsertionNotificationRequest SVGScriptElement::insertedInto(const Handle<C
ontainerNode>& rootParent) | 122 Node::InsertionNotificationRequest SVGScriptElement::insertedInto(const Handle<C
ontainerNode>& rootParent) |
123 { | 123 { |
124 SVGElement::insertedInto(rootParent); | 124 SVGElement::insertedInto(rootParent); |
125 ScriptElement::insertedInto(rootParent); | 125 ScriptElement::insertedInto(rootParent); |
126 if (rootParent->inDocument()) | 126 if (rootParent->inDocument()) |
127 SVGExternalResourcesRequired::insertedIntoDocument(this); | 127 SVGExternalResourcesRequired::insertedIntoDocument(this); |
128 return InsertionDone; | 128 return InsertionDone; |
129 } | 129 } |
130 | 130 |
131 void SVGScriptElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) | 131 void SVGScriptElement::childrenChanged(bool changedByParser, const Handle<Node>&
beforeChange, const Handle<Node>& afterChange, int childCountDelta) |
132 { | 132 { |
133 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 133 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); |
134 ScriptElement::childrenChanged(); | 134 ScriptElement::childrenChanged(); |
135 } | 135 } |
136 | 136 |
137 bool SVGScriptElement::isURLAttribute(const Attribute& attribute) const | 137 bool SVGScriptElement::isURLAttribute(const Attribute& attribute) const |
138 { | 138 { |
139 return attribute.name() == sourceAttributeValue(); | 139 return attribute.name() == sourceAttributeValue(); |
140 } | 140 } |
141 | 141 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 } | 208 } |
209 | 209 |
210 PassRefPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren() | 210 PassRefPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren() |
211 { | 211 { |
212 return adoptRef(new SVGScriptElement(tagQName(), document(), false, alreadyS
tarted())); | 212 return adoptRef(new SVGScriptElement(tagQName(), document(), false, alreadyS
tarted())); |
213 } | 213 } |
214 | 214 |
215 } | 215 } |
216 | 216 |
217 #endif // ENABLE(SVG) | 217 #endif // ENABLE(SVG) |
OLD | NEW |