OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
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 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 allowedChildElementTags.add(SVGNames::feSpotLightTag); | 223 allowedChildElementTags.add(SVGNames::feSpotLightTag); |
224 allowedChildElementTags.add(SVGNames::feTileTag); | 224 allowedChildElementTags.add(SVGNames::feTileTag); |
225 allowedChildElementTags.add(SVGNames::feTurbulenceTag); | 225 allowedChildElementTags.add(SVGNames::feTurbulenceTag); |
226 } | 226 } |
227 | 227 |
228 return allowedChildElementTags.contains<SVGAttributeHashTranslator>(svgEleme
nt->tagQName()); | 228 return allowedChildElementTags.contains<SVGAttributeHashTranslator>(svgEleme
nt->tagQName()); |
229 } | 229 } |
230 | 230 |
231 bool SVGFilterElement::selfHasRelativeLengths() const | 231 bool SVGFilterElement::selfHasRelativeLengths() const |
232 { | 232 { |
233 return x().isRelative() | 233 return xCurrentValue().isRelative() |
234 || y().isRelative() | 234 || yCurrentValue().isRelative() |
235 || width().isRelative() | 235 || widthCurrentValue().isRelative() |
236 || height().isRelative(); | 236 || heightCurrentValue().isRelative(); |
237 } | 237 } |
238 | 238 |
239 } | 239 } |
OLD | NEW |