Index: Source/core/accessibility/AccessibilityRenderObject.cpp |
diff --git a/Source/core/accessibility/AccessibilityRenderObject.cpp b/Source/core/accessibility/AccessibilityRenderObject.cpp |
index 22e5779fcf319b902fda43612012492a85c0b78c..24ac75a029b6813aadfd6929b9ad74e510939c8c 100644 |
--- a/Source/core/accessibility/AccessibilityRenderObject.cpp |
+++ b/Source/core/accessibility/AccessibilityRenderObject.cpp |
@@ -214,6 +214,8 @@ AccessibilityRenderObject::~AccessibilityRenderObject() |
LayoutRect AccessibilityRenderObject::elementRect() const |
{ |
+ if (!m_explicitElementRect.isEmpty()) |
+ return m_explicitElementRect; |
if (!m_renderer) |
return LayoutRect(); |
if (!m_renderer->isBox()) |