Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2910)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTable.cpp

Issue 2502803002: Restrict scope attribute on table cells (Closed)
Patch Set: Patch for landing Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTableCellElement.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 688b7975a5e133b4743694739bda0e1a68fd1dd5..222711547d7e8e4ecc9bc702e05426b930169f4c 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp
@@ -232,7 +232,8 @@ bool AXTable::isDataTable() const {
if (isHTMLTableCellElement(*cellNode)) {
HTMLTableCellElement& cellElement = toHTMLTableCellElement(*cellNode);
if (!cellElement.headers().isEmpty() || !cellElement.abbr().isEmpty() ||
- !cellElement.axis().isEmpty() || !cellElement.scope().isEmpty())
+ !cellElement.axis().isEmpty() ||
+ !cellElement.fastGetAttribute(scopeAttr).isEmpty())
return true;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTableCellElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698