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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 117 } |
118 | 118 |
119 void SVGMarkerElement::childrenChanged(const ChildrenChange& change) | 119 void SVGMarkerElement::childrenChanged(const ChildrenChange& change) |
120 { | 120 { |
121 SVGElement::childrenChanged(change); | 121 SVGElement::childrenChanged(change); |
122 | 122 |
123 if (change.byParser) | 123 if (change.byParser) |
124 return; | 124 return; |
125 | 125 |
126 if (LayoutObject* object = layoutObject()) | 126 if (LayoutObject* object = layoutObject()) |
127 object->setNeedsLayoutAndFullPaintInvalidation(); | 127 object->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason:
:ChildChanged); |
128 } | 128 } |
129 | 129 |
130 void SVGMarkerElement::setOrientToAuto() | 130 void SVGMarkerElement::setOrientToAuto() |
131 { | 131 { |
132 m_orientAngle->baseValue()->orientType()->setEnumValue(SVGMarkerOrientAuto); | 132 m_orientAngle->baseValue()->orientType()->setEnumValue(SVGMarkerOrientAuto); |
133 invalidateSVGAttributes(); | 133 invalidateSVGAttributes(); |
134 svgAttributeChanged(SVGNames::orientAttr); | 134 svgAttributeChanged(SVGNames::orientAttr); |
135 } | 135 } |
136 | 136 |
137 void SVGMarkerElement::setOrientToAngle(PassRefPtrWillBeRawPtr<SVGAngleTearOff>
angle) | 137 void SVGMarkerElement::setOrientToAngle(PassRefPtrWillBeRawPtr<SVGAngleTearOff>
angle) |
(...skipping 12 matching lines...) Expand all Loading... |
150 | 150 |
151 bool SVGMarkerElement::selfHasRelativeLengths() const | 151 bool SVGMarkerElement::selfHasRelativeLengths() const |
152 { | 152 { |
153 return m_refX->currentValue()->isRelative() | 153 return m_refX->currentValue()->isRelative() |
154 || m_refY->currentValue()->isRelative() | 154 || m_refY->currentValue()->isRelative() |
155 || m_markerWidth->currentValue()->isRelative() | 155 || m_markerWidth->currentValue()->isRelative() |
156 || m_markerHeight->currentValue()->isRelative(); | 156 || m_markerHeight->currentValue()->isRelative(); |
157 } | 157 } |
158 | 158 |
159 } // namespace blink | 159 } // namespace blink |
OLD | NEW |