| Index: Source/core/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
|
| index 82e0cdc57206099baaf3a739c0109be293604518..2d5b5f4fa0838cc41df4ecf74d763745f748428c 100644
|
| --- a/Source/core/accessibility/AXNodeObject.cpp
|
| +++ b/Source/core/accessibility/AXNodeObject.cpp
|
| @@ -1381,10 +1381,12 @@ bool AXNodeObject::canHaveChildren() const
|
| case RadioButtonRole:
|
| case TabRole:
|
| case ToggleButtonRole:
|
| - case StaticTextRole:
|
| case ListBoxOptionRole:
|
| case ScrollBarRole:
|
| return false;
|
| + case StaticTextRole:
|
| + if (!axObjectCache()->inlineTextBoxAccessibility())
|
| + return false;
|
| default:
|
| return true;
|
| }
|
|
|