Commit 80d80446 authored by nektar@chromium.org's avatar nektar@chromium.org

The value attribute should not be set for non-native text fields, according to...

The value attribute should not be set for non-native text fields, according to HTML to Platform A11y Spec.

E.g. <div contenteditable<Some text.</div>. The node with role=SECTION should not have the value="Some text.".
BUG=491027
R=dmazzoni@chromium.org

Review URL: https://codereview.chromium.org/1289103002

git-svn-id: svn://svn.chromium.org/blink/trunk@200758 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2d288364
......@@ -1467,7 +1467,7 @@ String AXNodeObject::stringValue() const
return String();
}
if (isTextControl())
if (isNativeTextControl())
return text();
// FIXME: We might need to implement a value here for more types
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment