summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/Position.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/Position.cpp')
-rw-r--r--WebCore/dom/Position.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/dom/Position.cpp b/WebCore/dom/Position.cpp
index fdcd7e5..db9e3c6 100644
--- a/WebCore/dom/Position.cpp
+++ b/WebCore/dom/Position.cpp
@@ -1030,10 +1030,6 @@ void Position::getInlineBoxAndOffset(EAffinity affinity, TextDirection primaryDi
inlineBox = toRenderBox(renderer)->inlineBoxWrapper();
if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset()))
return;
- } else if (!node()->isLink() && node()->isContentEditable()) {
- Position pos = positionInParentBeforeNode(node()).upstream();
- pos.getInlineBoxAndOffset(DOWNSTREAM, primaryDirection, inlineBox, caretOffset);
- return;
}
} else {
RenderText* textRenderer = toRenderText(renderer);