| Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| index 6eb6d63f455602da8572e90be9085fa0fc647fed..0859599ec6af839432b93022284df4a9cc7c0d9e 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -582,6 +582,10 @@ bool AXLayoutObject::computeAccessibilityIsIgnored(IgnoredReasons* ignoredReason
|
| if (m_layoutObject->isLayoutPart())
|
| return false;
|
|
|
| + // Make sure renderers with layers stay in the tree.
|
| + if (getLayoutObject() && getLayoutObject()->hasLayer() && getNode() && getNode()->hasChildren())
|
| + return false;
|
| +
|
| // find out if this element is inside of a label element.
|
| // if so, it may be ignored because it's the label for a checkbox or radio button
|
| AXObject* controlObject = correspondingControlForLabelElement();
|
|
|