Index: Source/core/accessibility/AccessibilityRenderObject.cpp |
diff --git a/Source/core/accessibility/AccessibilityRenderObject.cpp b/Source/core/accessibility/AccessibilityRenderObject.cpp |
index 094a0d10824aa27c95c8393380b37bcf5e2b0515..91ac9261b1a99977b6c5f55005a12fb24d193c2d 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()) |