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

Unified Diff: chrome/browser/renderer_host/test/renderer_accessibility_browsertest.cc

Issue 3435019: Store lower cased tag names withing webaccessibility. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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
« no previous file with comments | « chrome/browser/browser_accessibility_win.cc ('k') | webkit/glue/webaccessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/test/renderer_accessibility_browsertest.cc
===================================================================
--- chrome/browser/renderer_host/test/renderer_accessibility_browsertest.cc (revision 60148)
+++ chrome/browser/renderer_host/test/renderer_accessibility_browsertest.cc (working copy)
@@ -106,7 +106,7 @@
ASSERT_EQ(1U, tree.children.size());
const WebAccessibility& body = tree.children[0];
EXPECT_EQ(WebAccessibility::ROLE_GROUP, body.role);
- EXPECT_STREQ("BODY", GetAttr(body, WebAccessibility::ATTR_HTML_TAG).c_str());
+ EXPECT_STREQ("body", GetAttr(body, WebAccessibility::ATTR_HTML_TAG).c_str());
EXPECT_STREQ("block", GetAttr(body, WebAccessibility::ATTR_DISPLAY).c_str());
// Check properties of the two children of the BODY element.
@@ -115,7 +115,7 @@
const WebAccessibility& button = body.children[0];
EXPECT_EQ(WebAccessibility::ROLE_BUTTON, button.role);
EXPECT_STREQ(
- "INPUT", GetAttr(button, WebAccessibility::ATTR_HTML_TAG).c_str());
+ "input", GetAttr(button, WebAccessibility::ATTR_HTML_TAG).c_str());
EXPECT_STREQ("push", UTF16ToUTF8(button.name).c_str());
EXPECT_STREQ(
"inline-block", GetAttr(button, WebAccessibility::ATTR_DISPLAY).c_str());
@@ -128,7 +128,7 @@
const WebAccessibility& checkbox = body.children[1];
EXPECT_EQ(WebAccessibility::ROLE_CHECKBOX, checkbox.role);
EXPECT_STREQ(
- "INPUT", GetAttr(checkbox, WebAccessibility::ATTR_HTML_TAG).c_str());
+ "input", GetAttr(checkbox, WebAccessibility::ATTR_HTML_TAG).c_str());
EXPECT_STREQ(
"inline-block",
GetAttr(checkbox, WebAccessibility::ATTR_DISPLAY).c_str());
« no previous file with comments | « chrome/browser/browser_accessibility_win.cc ('k') | webkit/glue/webaccessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698