| 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 24412d0ad2148a85f61ecb607e0425d8e436c380..cf28e553d312c292124916237f4dd6051d5092b5 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -647,6 +647,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();
|
|
|