| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2  * Copyright (C) 2004, 2005, 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  * | 4  * | 
| 5  * This library is free software; you can redistribute it and/or | 5  * This library is free software; you can redistribute it and/or | 
| 6  * modify it under the terms of the GNU Library General Public | 6  * modify it under the terms of the GNU Library General Public | 
| 7  * License as published by the Free Software Foundation; either | 7  * License as published by the Free Software Foundation; either | 
| 8  * version 2 of the License, or (at your option) any later version. | 8  * version 2 of the License, or (at your option) any later version. | 
| 9  * | 9  * | 
| 10  * This library is distributed in the hope that it will be useful, | 10  * This library is distributed in the hope that it will be useful, | 
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 149 bool SVGTests::handleAttributeChange(SVGElement* targetElement, const QualifiedN
     ame& attrName) | 149 bool SVGTests::handleAttributeChange(SVGElement* targetElement, const QualifiedN
     ame& attrName) | 
| 150 { | 150 { | 
| 151     ASSERT(targetElement); | 151     ASSERT(targetElement); | 
| 152     if (!isKnownAttribute(attrName)) | 152     if (!isKnownAttribute(attrName)) | 
| 153         return false; | 153         return false; | 
| 154     if (!targetElement->inDocument()) | 154     if (!targetElement->inDocument()) | 
| 155         return true; | 155         return true; | 
| 156 | 156 | 
| 157     bool valid = targetElement->isValid(); | 157     bool valid = targetElement->isValid(); | 
| 158     if (valid && !targetElement->attached() && targetElement->parentNode()->atta
     ched()) | 158     if (valid && !targetElement->attached() && targetElement->parentNode()->atta
     ched()) | 
| 159         targetElement->lazyAttach(); | 159         targetElement->scheduleRenderTreeCreation(); | 
| 160     else if (!valid && targetElement->attached()) | 160     else if (!valid && targetElement->attached()) | 
| 161         targetElement->detach(); | 161         targetElement->destroyRenderTree(); | 
| 162 | 162 | 
| 163     return true; | 163     return true; | 
| 164 } | 164 } | 
| 165 | 165 | 
| 166 void SVGTests::addSupportedAttributes(HashSet<QualifiedName>& supportedAttribute
     s) | 166 void SVGTests::addSupportedAttributes(HashSet<QualifiedName>& supportedAttribute
     s) | 
| 167 { | 167 { | 
| 168     supportedAttributes.add(SVGNames::requiredFeaturesAttr); | 168     supportedAttributes.add(SVGNames::requiredFeaturesAttr); | 
| 169     supportedAttributes.add(SVGNames::requiredExtensionsAttr); | 169     supportedAttributes.add(SVGNames::requiredExtensionsAttr); | 
| 170     supportedAttributes.add(SVGNames::systemLanguageAttr); | 170     supportedAttributes.add(SVGNames::systemLanguageAttr); | 
| 171 } | 171 } | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 209     return m_requiredExtensions.value; | 209     return m_requiredExtensions.value; | 
| 210 } | 210 } | 
| 211 | 211 | 
| 212 SVGStringList& SVGTests::systemLanguage() | 212 SVGStringList& SVGTests::systemLanguage() | 
| 213 { | 213 { | 
| 214     m_systemLanguage.shouldSynchronize = true; | 214     m_systemLanguage.shouldSynchronize = true; | 
| 215     return m_systemLanguage.value; | 215     return m_systemLanguage.value; | 
| 216 } | 216 } | 
| 217 | 217 | 
| 218 } | 218 } | 
| OLD | NEW | 
|---|