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

Unified Diff: Source/web/WebAXObject.cpp

Issue 1045693002: Expose multiline attribute from blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: modifying ariaIsMultiline to isMultiline to support html textarea element Created 5 years, 9 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: Source/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index 5dca5777bda07647665f815eb46fb2264c72414c..3e65f10e686cb1587e2215099a871e90d1e0c8cb 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -528,6 +528,14 @@ bool WebAXObject::ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) con
return true;
}
+bool WebAXObject::isMultiline() const
+{
+ if (isDetached())
+ return false;
+
+ return m_private->isMultiline();
+}
+
bool WebAXObject::isInLiveRegion() const
{
if (isDetached())

Powered by Google App Engine
This is Rietveld 408576698