| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007 Apple Inc. 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "core/rendering/svg/RenderSVGViewportContainer.h" | 47 #include "core/rendering/svg/RenderSVGViewportContainer.h" |
| 48 #include "core/svg/SVGAngle.h" | 48 #include "core/svg/SVGAngle.h" |
| 49 #include "core/svg/SVGElementInstance.h" | 49 #include "core/svg/SVGElementInstance.h" |
| 50 #include "core/svg/SVGFitToViewBox.h" | 50 #include "core/svg/SVGFitToViewBox.h" |
| 51 #include "core/svg/SVGPreserveAspectRatio.h" | 51 #include "core/svg/SVGPreserveAspectRatio.h" |
| 52 #include "core/svg/SVGTransform.h" | 52 #include "core/svg/SVGTransform.h" |
| 53 #include "core/svg/SVGTransformList.h" | 53 #include "core/svg/SVGTransformList.h" |
| 54 #include "core/svg/SVGViewElement.h" | 54 #include "core/svg/SVGViewElement.h" |
| 55 #include "core/svg/SVGViewSpec.h" | 55 #include "core/svg/SVGViewSpec.h" |
| 56 #include "core/svg/animation/SMILTimeContainer.h" | 56 #include "core/svg/animation/SMILTimeContainer.h" |
| 57 #include <wtf/StdLibExtras.h> | 57 #include "wtf/StdLibExtras.h" |
| 58 | 58 |
| 59 namespace WebCore { | 59 namespace WebCore { |
| 60 | 60 |
| 61 // Animated property definitions | 61 // Animated property definitions |
| 62 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::xAttr, X, x) | 62 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::xAttr, X, x) |
| 63 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::yAttr, Y, y) | 63 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::yAttr, Y, y) |
| 64 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::widthAttr, Width, width) | 64 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::widthAttr, Width, width) |
| 65 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::heightAttr, Height, height) | 65 DEFINE_ANIMATED_LENGTH(SVGSVGElement, SVGNames::heightAttr, Height, height) |
| 66 DEFINE_ANIMATED_BOOLEAN(SVGSVGElement, SVGNames::externalResourcesRequiredAttr,
ExternalResourcesRequired, externalResourcesRequired) | 66 DEFINE_ANIMATED_BOOLEAN(SVGSVGElement, SVGNames::externalResourcesRequiredAttr,
ExternalResourcesRequired, externalResourcesRequired) |
| 67 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGSVGElement, SVGNames::preserveAspectRatio
Attr, PreserveAspectRatio, preserveAspectRatio) | 67 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGSVGElement, SVGNames::preserveAspectRatio
Attr, PreserveAspectRatio, preserveAspectRatio) |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 continue; | 768 continue; |
| 769 | 769 |
| 770 Element* element = toElement(node); | 770 Element* element = toElement(node); |
| 771 if (element->getIdAttribute() == id) | 771 if (element->getIdAttribute() == id) |
| 772 return element; | 772 return element; |
| 773 } | 773 } |
| 774 return 0; | 774 return 0; |
| 775 } | 775 } |
| 776 | 776 |
| 777 } | 777 } |
| OLD | NEW |