| Index: Source/core/dom/ContainerNodeAlgorithms.h
|
| diff --git a/Source/core/dom/ContainerNodeAlgorithms.h b/Source/core/dom/ContainerNodeAlgorithms.h
|
| index d8910cfb7da6a59c7007091e0e2366946b7e9cbb..6247bcc8da93253958c159a1ea2e6e84d2e2b233 100644
|
| --- a/Source/core/dom/ContainerNodeAlgorithms.h
|
| +++ b/Source/core/dom/ContainerNodeAlgorithms.h
|
| @@ -228,7 +228,7 @@ inline void ChildNodeInsertionNotifier::notify(Node* node)
|
| // were inserted.
|
| // FIXME: We should merge the lazy attach logic into the tree traversal in
|
| // notifyNodeInsertedIntoDocument.
|
| - if (!node->attached() && node->parentNode() && node->parentNode()->attached())
|
| + if (!node->confusingAndOftenMisusedAttached() && node->parentNode() && node->parentNode()->confusingAndOftenMisusedAttached())
|
| node->lazyAttach();
|
|
|
| for (size_t i = 0; i < m_postInsertionNotificationTargets.size(); ++i) {
|
|
|