| Index: Source/core/svg/SVGTests.cpp
|
| diff --git a/Source/core/svg/SVGTests.cpp b/Source/core/svg/SVGTests.cpp
|
| index 2c309550176b7c96257170bd4ae5fefd2ac57a14..9966ba625ada40067b212f6e2dd84979253de94f 100644
|
| --- a/Source/core/svg/SVGTests.cpp
|
| +++ b/Source/core/svg/SVGTests.cpp
|
| @@ -155,9 +155,9 @@ bool SVGTests::handleAttributeChange(SVGElement* targetElement, const QualifiedN
|
| return true;
|
|
|
| bool valid = targetElement->isValid();
|
| - if (valid && !targetElement->attached() && targetElement->parentNode()->attached())
|
| + if (valid && !targetElement->confusingAndOftenMisusedAttached() && targetElement->parentNode()->confusingAndOftenMisusedAttached())
|
| targetElement->lazyAttach();
|
| - else if (!valid && targetElement->attached())
|
| + else if (!valid && targetElement->confusingAndOftenMisusedAttached())
|
| targetElement->detach();
|
|
|
| return true;
|
|
|