diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2010-12-07 17:22:45 -0800 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2010-12-22 14:15:40 -0800 |
commit | 4576aa36e9a9671459299c7963ac95aa94beaea9 (patch) | |
tree | 3863574e050f168c0126ecb47c83319fab0972d8 /WebCore/svg/SVGLineElement.cpp | |
parent | 55323ac613cc31553107b68603cb627264d22bb0 (diff) | |
download | external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.zip external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.gz external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.bz2 |
Merge WebKit at r73109: Initial merge by git.
Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
Diffstat (limited to 'WebCore/svg/SVGLineElement.cpp')
-rw-r--r-- | WebCore/svg/SVGLineElement.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/svg/SVGLineElement.cpp b/WebCore/svg/SVGLineElement.cpp index ac461fe..2758b77 100644 --- a/WebCore/svg/SVGLineElement.cpp +++ b/WebCore/svg/SVGLineElement.cpp @@ -32,6 +32,12 @@ namespace WebCore { +// Animated property definitions +DEFINE_ANIMATED_LENGTH(SVGLineElement, SVGNames::x1Attr, X1, x1) +DEFINE_ANIMATED_LENGTH(SVGLineElement, SVGNames::y1Attr, Y1, y1) +DEFINE_ANIMATED_LENGTH(SVGLineElement, SVGNames::x2Attr, X2, x2) +DEFINE_ANIMATED_LENGTH(SVGLineElement, SVGNames::y2Attr, Y2, y2) + inline SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document* document) : SVGStyledTransformableElement(tagName, document) , m_x1(LengthModeWidth) @@ -113,6 +119,7 @@ void SVGLineElement::synchronizeProperty(const QualifiedName& attrName) synchronizeX2(); synchronizeY2(); synchronizeExternalResourcesRequired(); + SVGTests::synchronizeProperties(this, attrName); return; } @@ -126,6 +133,8 @@ void SVGLineElement::synchronizeProperty(const QualifiedName& attrName) synchronizeY2(); else if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); + else if (SVGTests::isKnownAttribute(attrName)) + SVGTests::synchronizeProperties(this, attrName); } void SVGLineElement::toPathData(Path& path) const |