Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 109929aa22f7943f7ff07adabd376b48c7a32fa8..54b0ed5055231912127f0f3efa70a0cf2a284380 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -4327,7 +4327,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()) || isTableElement(node()))) { |
+ if (node() && !(editingIgnoresContent(node()) || isRenderedTable(node()))) { |
rect.setX(rect.x() + borderLeft() + paddingLeft()); |
rect.setY(rect.y() + paddingTop() + borderTop()); |
} |