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, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 } | 381 } |
382 | 382 |
383 void SVGStyledElement::removedFrom(const Handle<ContainerNode>& rootParent) | 383 void SVGStyledElement::removedFrom(const Handle<ContainerNode>& rootParent) |
384 { | 384 { |
385 if (rootParent->inDocument()) | 385 if (rootParent->inDocument()) |
386 updateRelativeLengthsInformation(false, this); | 386 updateRelativeLengthsInformation(false, this); |
387 SVGElement::removedFrom(rootParent); | 387 SVGElement::removedFrom(rootParent); |
388 SVGElementInstance::invalidateAllInstancesOfElement(this); | 388 SVGElementInstance::invalidateAllInstancesOfElement(this); |
389 } | 389 } |
390 | 390 |
391 void SVGStyledElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) | 391 void SVGStyledElement::childrenChanged(bool changedByParser, const Handle<Node>&
beforeChange, const Handle<Node>& afterChange, int childCountDelta) |
392 { | 392 { |
393 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 393 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); |
394 | 394 |
395 // Invalidate all SVGElementInstances associated with us | 395 // Invalidate all SVGElementInstances associated with us |
396 if (!changedByParser) | 396 if (!changedByParser) |
397 SVGElementInstance::invalidateAllInstancesOfElement(this); | 397 SVGElementInstance::invalidateAllInstancesOfElement(this); |
398 } | 398 } |
399 | 399 |
400 Result<CSSValue> SVGStyledElement::getPresentationAttribute(const String& name) | 400 Result<CSSValue> SVGStyledElement::getPresentationAttribute(const String& name) |
401 { | 401 { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 } | 479 } |
480 | 480 |
481 bool SVGStyledElement::isKeyboardFocusable(KeyboardEvent*) const | 481 bool SVGStyledElement::isKeyboardFocusable(KeyboardEvent*) const |
482 { | 482 { |
483 return isMouseFocusable(); | 483 return isMouseFocusable(); |
484 } | 484 } |
485 | 485 |
486 } | 486 } |
487 | 487 |
488 #endif // ENABLE(SVG) | 488 #endif // ENABLE(SVG) |
OLD | NEW |