void AppendNodeCommand::doApply() { if (!m_parent->hasEditableStyle() && m_parent->renderer()) return; m_parent->appendChild(m_node.get(), IGNORE_EXCEPTION); sendAXTextChangedIgnoringLineBreaks(m_node.get(), applyEditType()); }
void AppendNodeCommand::doApply() { if (!m_parent->rendererIsEditable() && m_parent->attached()) return; m_parent->appendChild(m_node.get(), IGNORE_EXCEPTION, AttachLazily); if (AXObjectCache::accessibilityEnabled()) sendAXTextChangedIgnoringLineBreaks(m_node.get(), AXObjectCache::AXTextInserted); }
void AppendNodeCommand::doUnapply() { if (!m_parent->hasEditableStyle()) return; // Need to notify this before actually deleting the text sendAXTextChangedIgnoringLineBreaks(m_node.get(), unapplyEditType()); m_node->remove(IGNORE_EXCEPTION); }
void AppendNodeCommand::doApply() { if (!m_parent->isContentEditable() && m_parent->attached()) return; ExceptionCode ec; m_parent->appendChild(m_node.get(), ec); if (AXObjectCache::accessibilityEnabled()) sendAXTextChangedIgnoringLineBreaks(m_node.get(), AXObjectCache::AXTextInserted); }
void AppendNodeCommand::doUnapply() { if (!m_parent->rendererIsEditable()) return; // Need to notify this before actually deleting the text if (AXObjectCache::accessibilityEnabled()) sendAXTextChangedIgnoringLineBreaks(m_node.get(), AXObjectCache::AXTextDeleted); m_node->remove(IGNORE_EXCEPTION); }
void AppendNodeCommand::doUnapply() { if (!m_parent->isContentEditable()) return; // Need to notify this before actually deleting the text if (AXObjectCache::accessibilityEnabled()) sendAXTextChangedIgnoringLineBreaks(m_node.get(), AXObjectCache::AXTextDeleted); ExceptionCode ec; m_node->remove(ec); }