| 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, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 131 } |
| 132 | 132 |
| 133 void SVGMarkerElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) | 133 void SVGMarkerElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) |
| 134 { | 134 { |
| 135 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 135 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); |
| 136 | 136 |
| 137 if (changedByParser) | 137 if (changedByParser) |
| 138 return; | 138 return; |
| 139 | 139 |
| 140 if (RenderObject* object = renderer()) | 140 if (RenderObject* object = renderer()) |
| 141 object->setNeedsLayout(); | 141 object->setNeedsLayoutAndFullRepaint(); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void SVGMarkerElement::setOrientToAuto() | 144 void SVGMarkerElement::setOrientToAuto() |
| 145 { | 145 { |
| 146 m_orientAngle->baseValue()->orientType()->setEnumValue(SVGMarkerOrientAuto); | 146 m_orientAngle->baseValue()->orientType()->setEnumValue(SVGMarkerOrientAuto); |
| 147 invalidateSVGAttributes(); | 147 invalidateSVGAttributes(); |
| 148 svgAttributeChanged(SVGNames::orientAttr); | 148 svgAttributeChanged(SVGNames::orientAttr); |
| 149 } | 149 } |
| 150 | 150 |
| 151 void SVGMarkerElement::setOrientToAngle(PassRefPtr<SVGAngleTearOff> angle) | 151 void SVGMarkerElement::setOrientToAngle(PassRefPtr<SVGAngleTearOff> angle) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 164 | 164 |
| 165 bool SVGMarkerElement::selfHasRelativeLengths() const | 165 bool SVGMarkerElement::selfHasRelativeLengths() const |
| 166 { | 166 { |
| 167 return m_refX->currentValue()->isRelative() | 167 return m_refX->currentValue()->isRelative() |
| 168 || m_refY->currentValue()->isRelative() | 168 || m_refY->currentValue()->isRelative() |
| 169 || m_markerWidth->currentValue()->isRelative() | 169 || m_markerWidth->currentValue()->isRelative() |
| 170 || m_markerHeight->currentValue()->isRelative(); | 170 || m_markerHeight->currentValue()->isRelative(); |
| 171 } | 171 } |
| 172 | 172 |
| 173 } | 173 } |
| OLD | NEW |