| 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, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 ASSERT(propertyId > 0); | 69 ASSERT(propertyId > 0); |
| 70 propertyNameToIdMap->set(attrName.localName().impl(), propertyId); | 70 propertyNameToIdMap->set(attrName.localName().impl(), propertyId); |
| 71 } | 71 } |
| 72 | 72 |
| 73 SVGElement::SVGElement(const QualifiedName& tagName, Document& document, Constru
ctionType constructionType) | 73 SVGElement::SVGElement(const QualifiedName& tagName, Document& document, Constru
ctionType constructionType) |
| 74 : Element(tagName, &document, constructionType) | 74 : Element(tagName, &document, constructionType) |
| 75 #if !ASSERT_DISABLED | 75 #if !ASSERT_DISABLED |
| 76 , m_inRelativeLengthClientsInvalidation(false) | 76 , m_inRelativeLengthClientsInvalidation(false) |
| 77 #endif | 77 #endif |
| 78 , m_animatedPropertiesDestructed(false) | 78 , m_animatedPropertiesDestructed(false) |
| 79 , m_isContextElement(false) |
| 79 { | 80 { |
| 80 ScriptWrappable::init(this); | 81 ScriptWrappable::init(this); |
| 81 registerAnimatedPropertiesForSVGElement(); | 82 registerAnimatedPropertiesForSVGElement(); |
| 82 setHasCustomStyleCallbacks(); | 83 setHasCustomStyleCallbacks(); |
| 83 } | 84 } |
| 84 | 85 |
| 85 SVGElement::~SVGElement() | 86 SVGElement::~SVGElement() |
| 86 { | 87 { |
| 87 ASSERT(inDocument() || !hasRelativeLengths()); | 88 ASSERT(inDocument() || !hasRelativeLengths()); |
| 88 } | 89 } |
| (...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1184 } | 1185 } |
| 1185 | 1186 |
| 1186 if (name == classAttr) | 1187 if (name == classAttr) |
| 1187 return true; | 1188 return true; |
| 1188 | 1189 |
| 1189 return animatableAttributes.contains(name); | 1190 return animatableAttributes.contains(name); |
| 1190 } | 1191 } |
| 1191 #endif | 1192 #endif |
| 1192 | 1193 |
| 1193 } | 1194 } |
| OLD | NEW |