| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 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) 2006 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 5 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 void SVGStyleElement::finishParsingChildren() | 129 void SVGStyleElement::finishParsingChildren() |
| 130 { | 130 { |
| 131 StyleElement::finishParsingChildren(this); | 131 StyleElement::finishParsingChildren(this); |
| 132 SVGElement::finishParsingChildren(); | 132 SVGElement::finishParsingChildren(); |
| 133 } | 133 } |
| 134 | 134 |
| 135 Node::InsertionNotificationRequest SVGStyleElement::insertedInto(ContainerNode*
rootParent) | 135 Node::InsertionNotificationRequest SVGStyleElement::insertedInto(ContainerNode*
rootParent) |
| 136 { | 136 { |
| 137 SVGElement::insertedInto(rootParent); | 137 SVGElement::insertedInto(rootParent); |
| 138 if (rootParent->inDocument()) | 138 if (rootParent->inDocument()) |
| 139 StyleElement::insertedIntoDocument(document(), this); | 139 return InsertionShouldCallDidNotifySubtreeInsertions; |
| 140 return InsertionDone; | 140 return InsertionDone; |
| 141 } | 141 } |
| 142 | 142 |
| 143 void SVGStyleElement::didNotifySubtreeInsertions(ContainerNode* insertionPoint) |
| 144 { |
| 145 StyleElement::processStyleSheet(document(), this); |
| 146 } |
| 147 |
| 143 void SVGStyleElement::removedFrom(ContainerNode* rootParent) | 148 void SVGStyleElement::removedFrom(ContainerNode* rootParent) |
| 144 { | 149 { |
| 145 SVGElement::removedFrom(rootParent); | 150 SVGElement::removedFrom(rootParent); |
| 146 if (rootParent->inDocument()) | 151 if (rootParent->inDocument()) |
| 147 StyleElement::removedFromDocument(document(), this); | 152 StyleElement::removedFromDocument(document(), this); |
| 148 } | 153 } |
| 149 | 154 |
| 150 void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) | 155 void SVGStyleElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) |
| 151 { | 156 { |
| 152 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 157 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); |
| 153 StyleElement::childrenChanged(this); | 158 StyleElement::childrenChanged(this); |
| 154 } | 159 } |
| 155 | 160 |
| 156 } | 161 } |
| OLD | NEW |