| Index: third_party/WebKit/Source/modules/accessibility/AXTable.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
|
| index 222711547d7e8e4ecc9bc702e05426b930169f4c..fef675f8aaa6bd3f303dbe96f55205ca2f8e1cfb 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
|
| @@ -102,8 +102,11 @@ bool AXTable::isDataTable() const {
|
| // When a section of the document is contentEditable, all tables should be
|
| // treated as data tables, otherwise users may not be able to work with rich
|
| // text editors that allow creating and editing tables.
|
| - if (getNode() && hasEditableStyle(*getNode()))
|
| - return true;
|
| + {
|
| + AutoReset<bool> inAXScope(checkingEditableStyleFromAXIndicator(), true);
|
| + if (getNode() && hasEditableStyle(*getNode()))
|
| + return true;
|
| + }
|
|
|
| // This employs a heuristic to determine if this table should appear.
|
| // Only "data" tables should be exposed as tables.
|
|
|