Roll out unintended work-in-progress change
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2005 22:20:50 +0000 (22:20 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Jan 2005 22:20:50 +0000 (22:20 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8383 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/khtml/editing/htmlediting.cpp

index 6ee4fdb..9a27120 100644 (file)
@@ -2201,7 +2201,7 @@ void DeleteSelectionCommand::calculateTypingStyleAfterDelete()
     // has completed.
     // FIXME: Improve typing style.
     // See this bug: <rdar://problem/3769899> Implementation of typing style needs improvement
-    if (m_startNode == m_endingPosition.node() && m_startNode->inDocument() && !m_startNode->isBlockFlow())
+    if (m_startNode == m_endingPosition.node())
         document()->part()->setTypingStyle(0);
     else {
         CSSComputedStyleDeclarationImpl endingStyle(m_endingPosition.node());