Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 529871d6d3260b4d4e337ab9cb7a7e4b58bd5a80..19fc76eccace95356c287761c603a4273130adeb 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -3974,7 +3974,7 @@ LayoutRect RenderBox::localCaretRect(InlineBox* box, int caretOffset, LayoutUnit |
// FIXME: Border/padding should be added for all elements but this workaround |
// is needed because we use offsets inside an "atomic" element to represent |
// positions before and after the element in deprecated editing offsets. |
- if (node() && !(editingIgnoresContent(node()) || isRenderedTable(node()))) { |
+ if (node() && !(editingIgnoresContent(node()) || isRenderedTableElement(node()))) { |
rect.setX(rect.x() + borderLeft() + paddingLeft()); |
rect.setY(rect.y() + paddingTop() + borderTop()); |
} |