Commit a3f3699b authored by Doug Turner's avatar Doug Turner Committed by Commit Bot

Use AX_STATE_RICHLY_EDITABLE for contenteditable nodes in accessibility unittests

Bug: None
Change-Id: I434055fd471e6fcd3579999df7379c42313133ec
Reviewed-on: https://chromium-review.googlesource.com/683834Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
Commit-Queue: Doug Turner <dougt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504312}
parent a599afbf
......@@ -189,7 +189,7 @@ class AXPlatformNodeWinTest : public testing::Test {
AXNodeData content_editable_node;
content_editable_node.id = 1;
content_editable_node.role = AX_ROLE_GROUP;
content_editable_node.AddState(AX_STATE_EDITABLE);
content_editable_node.AddState(AX_STATE_RICHLY_EDITABLE);
content_editable_node.AddBoolAttribute(ui::AX_ATTR_EDITABLE_ROOT, true);
content_editable_node.SetValue("How now brown cow.");
......@@ -204,7 +204,7 @@ class AXPlatformNodeWinTest : public testing::Test {
AXNodeData content_editable_node;
content_editable_node.id = 1;
content_editable_node.role = AX_ROLE_GROUP;
content_editable_node.AddState(AX_STATE_EDITABLE);
content_editable_node.AddState(AX_STATE_RICHLY_EDITABLE);
content_editable_node.AddState(AX_STATE_SELECTED);
content_editable_node.AddBoolAttribute(ui::AX_ATTR_EDITABLE_ROOT, true);
content_editable_node.SetValue("How now brown cow.");
......
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