#include "core/html/HTMLHtmlElement.h"
#include "core/rendering/RenderBlock.h"
-namespace WebCore {
+namespace blink {
using namespace HTMLNames;
return false;
}
- if (isRenderedTableElement(m_anchorNode) || editingIgnoresContent(m_anchorNode))
+ if (isRenderedHTMLTableElement(m_anchorNode) || editingIgnoresContent(m_anchorNode))
return (atStartOfNode() || atEndOfNode()) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode());
if (!isHTMLHtmlElement(*m_anchorNode) && renderer->isRenderBlockFlow()) {
if (toRenderBlock(renderer)->logicalHeight() || isHTMLBodyElement(*m_anchorNode)) {
if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(renderer))
return atStartOfNode() && !Position::nodeIsUserSelectNone(m_anchorNode);
- return m_anchorNode->rendererIsEditable() && !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).atEditingBoundary();
+ return m_anchorNode->hasEditableStyle() && !Position::nodeIsUserSelectNone(m_anchorNode) && Position(*this).atEditingBoundary();
}
}
return false;
}
-} // namespace WebCore
+} // namespace blink