| Index: Source/core/editing/AppendNodeCommand.cpp
|
| diff --git a/Source/core/editing/AppendNodeCommand.cpp b/Source/core/editing/AppendNodeCommand.cpp
|
| index e8047c9a913337a95b258504627caba38749852b..4d4d59e22265b2071e5524ac338fb3d1f217d62a 100644
|
| --- a/Source/core/editing/AppendNodeCommand.cpp
|
| +++ b/Source/core/editing/AppendNodeCommand.cpp
|
| @@ -40,12 +40,12 @@ AppendNodeCommand::AppendNodeCommand(PassRefPtr<ContainerNode> parent, PassRefPt
|
| ASSERT(m_node);
|
| ASSERT(!m_node->parentNode());
|
|
|
| - ASSERT(m_parent->rendererIsEditable() || !m_parent->attached());
|
| + ASSERT(m_parent->rendererIsEditable() || !m_parent->confusingAndOftenMisusedAttached());
|
| }
|
|
|
| void AppendNodeCommand::doApply()
|
| {
|
| - if (!m_parent->rendererIsEditable() && m_parent->attached())
|
| + if (!m_parent->rendererIsEditable() && m_parent->confusingAndOftenMisusedAttached())
|
| return;
|
|
|
| m_parent->appendChild(m_node.get(), IGNORE_EXCEPTION);
|
|
|