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

Unified Diff: Source/modules/accessibility/AXRenderObject.cpp

Issue 718403002: Input type number should return Spinbuttonrole from blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: adding layout test in testexpectations Created 6 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXRenderObject.cpp
diff --git a/Source/modules/accessibility/AXRenderObject.cpp b/Source/modules/accessibility/AXRenderObject.cpp
index 628f4e693cb32ce0dbdd97fc14ca003658fba5d2..090ad773ea505db99114faa49e8ddea53e99da80 100644
--- a/Source/modules/accessibility/AXRenderObject.cpp
+++ b/Source/modules/accessibility/AXRenderObject.cpp
@@ -304,9 +304,6 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole()
if (cssBox && cssBox->isRenderView())
return WebAreaRole;
- if (cssBox && cssBox->isTextField())
- return TextFieldRole;
-
if (cssBox && cssBox->isTextArea())
return TextAreaRole;
@@ -343,6 +340,7 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole()
return ColorWellRole;
if (type == InputTypeNames::time)
return TimeRole;
+ return TextFieldRole;
}
if (isFileUploadButton())
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698