OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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) 2005 Alexander Kellett <lypanov@kde.org> | 4 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org> |
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
6 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 147 |
148 if (changedByParser) | 148 if (changedByParser) |
149 return; | 149 return; |
150 | 150 |
151 if (RenderObject* object = renderer()) | 151 if (RenderObject* object = renderer()) |
152 object->setNeedsLayout(true); | 152 object->setNeedsLayout(true); |
153 } | 153 } |
154 | 154 |
155 RenderObject* SVGMaskElement::createRenderer(RenderStyle*) | 155 RenderObject* SVGMaskElement::createRenderer(RenderStyle*) |
156 { | 156 { |
157 return new (document()->renderArena()) RenderSVGResourceMasker(this); | 157 return new RenderSVGResourceMasker(this); |
158 } | 158 } |
159 | 159 |
160 bool SVGMaskElement::selfHasRelativeLengths() const | 160 bool SVGMaskElement::selfHasRelativeLengths() const |
161 { | 161 { |
162 return xCurrentValue().isRelative() | 162 return xCurrentValue().isRelative() |
163 || yCurrentValue().isRelative() | 163 || yCurrentValue().isRelative() |
164 || widthCurrentValue().isRelative() | 164 || widthCurrentValue().isRelative() |
165 || heightCurrentValue().isRelative(); | 165 || heightCurrentValue().isRelative(); |
166 } | 166 } |
167 | 167 |
168 } | 168 } |
OLD | NEW |