void SplitElementCommand::doReapply()
{
    if (!m_element1)
        return;

    executeApply();
}
void WrapContentsInDummySpanCommand::doReapply()
{    
    if (!m_dummySpan || !m_element->hasEditableStyle())
        return;

    executeApply();
}
void WrapContentsInDummySpanCommand::doReapply() {
  DCHECK(m_element);

  if (!m_dummySpan || !hasEditableStyle(*m_element))
    return;

  executeApply();
}
void WrapContentsInDummySpanCommand::doReapply()
{
    ASSERT(m_element);
    
    if (!m_dummySpan || !m_element->rendererIsEditable())
        return;

    executeApply();
}
void SplitElementCommand::doApply(EditingState*)
{
    m_element1 = m_element2->cloneElementWithoutChildren();

    executeApply();
}
void WrapContentsInDummySpanCommand::doApply()
{
    m_dummySpan = createStyleSpanElement(document());
    
    executeApply();
}
void SplitElementCommand::doApply()
{
    m_element1 = m_element2->cloneElementWithoutChildren(document());
    
    executeApply();
}
void WrapContentsInDummySpanCommand::doApply(EditingState*) {
  m_dummySpan = HTMLSpanElement::create(document());

  executeApply();
}