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

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

Issue 2215133005: Add grid/flex layout support for <fieldset> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed comments: removed LayoutFlexibleBox::styleDidChange, fixed layoutSpecialExcludedChild formatt… Created 4 years, 4 months 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
Index: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
index 9da7afeb114f27c3130d9c866a70c6c8a142055c..dfc579dc47754045a0062470b76d6d39bbb2bd4a 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
@@ -522,6 +522,10 @@ AccessibilityRole AXNodeObject::nativeAccessibilityRoleIgnoringAria() const
if (isHTMLHRElement(*getNode()))
return SplitterRole;
+ if (isFieldset()) {
+ return GroupRole;
+ }
+
return UnknownRole;
}

Powered by Google App Engine
This is Rietveld 408576698