Index: Source/core/dom/PositionIterator.cpp |
diff --git a/Source/core/dom/PositionIterator.cpp b/Source/core/dom/PositionIterator.cpp |
index 1b5dcdd2d4bc69d13ebfb09081565dc4242d62bd..5cc76b10806b1aa7cfbe0da0200b9766bb96b019 100644 |
--- a/Source/core/dom/PositionIterator.cpp |
+++ b/Source/core/dom/PositionIterator.cpp |
@@ -157,7 +157,7 @@ bool PositionIterator::isCandidate() const |
if (renderer->isText()) |
return !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).inRenderedText(); |
- if (isRenderedTable(m_anchorNode) || editingIgnoresContent(m_anchorNode)) |
+ if (isTableElement(m_anchorNode) || editingIgnoresContent(m_anchorNode)) |
return (atStartOfNode() || atEndOfNode()) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode()); |
if (!isHTMLHtmlElement(m_anchorNode) && renderer->isRenderBlockFlow()) { |