Home | History | Annotate | Download | only in accessibility

Lines Matching refs:body

100       "<body><input type='button' value='push' /><input type='checkbox' />"
101 "</body></html>";
118 // Check properites of the BODY element.
120 const WebAccessibility& body = tree.children[0];
121 EXPECT_EQ(WebAccessibility::ROLE_GROUP, body.role);
122 EXPECT_STREQ("body", GetAttr(body, WebAccessibility::ATTR_HTML_TAG).c_str());
123 EXPECT_STREQ("block", GetAttr(body, WebAccessibility::ATTR_DISPLAY).c_str());
125 // Check properties of the two children of the BODY element.
126 ASSERT_EQ(2U, body.children.size());
128 const WebAccessibility& button = body.children[0];
141 const WebAccessibility& checkbox = body.children[1];
161 "<body>"
163 "</body></html>";
169 const WebAccessibility& body = tree.children[0];
170 ASSERT_EQ(1U, body.children.size());
171 const WebAccessibility& text = body.children[0];
192 "<body onload=\"document.body.children[0].select();\">"
194 "</body></html>";
200 const WebAccessibility& body = tree.children[0];
201 ASSERT_EQ(1U, body.children.size());
202 const WebAccessibility& text = body.children[0];
276 "<!doctype html><html><body>"
279 "<!doctype html><html><body><button>Button 2</button></body></html>"
282 "</body></html>";
288 const WebAccessibility& body = tree.children[0];
289 ASSERT_EQ(3U, body.children.size());
291 const WebAccessibility& button1 = body.children[0];
295 const WebAccessibility& iframe = body.children[1];
315 const WebAccessibility& button3 = body.children[2];