Lines Matching defs:table
265 // In a WebKit accessibility render tree for a table, each cell is a
273 "<table border=1><tr><td>1</td><td>2</td></tr></table>";
280 const ui::AXNode* table = root->ChildAtIndex(0);
281 EXPECT_EQ(ui::AX_ROLE_TABLE, table->data().role);
282 const ui::AXNode* row = table->ChildAtIndex(0);
288 const ui::AXNode* column1 = table->ChildAtIndex(1);
298 const ui::AXNode* column2 = table->ChildAtIndex(2);
416 "<table border=1>"
423 "</table>";
429 const ui::AXNode* table = root->ChildAtIndex(0);
430 EXPECT_EQ(ui::AX_ROLE_TABLE, table->data().role);
431 ASSERT_GE(table->child_count(), 5);
432 EXPECT_EQ(ui::AX_ROLE_ROW, table->ChildAtIndex(0)->data().role);
433 EXPECT_EQ(ui::AX_ROLE_ROW, table->ChildAtIndex(1)->data().role);
434 EXPECT_EQ(ui::AX_ROLE_COLUMN, table->ChildAtIndex(2)->data().role);
435 EXPECT_EQ(ui::AX_ROLE_COLUMN, table->ChildAtIndex(3)->data().role);
436 EXPECT_EQ(ui::AX_ROLE_COLUMN, table->ChildAtIndex(4)->data().role);
438 GetIntAttr(table, ui::AX_ATTR_TABLE_COLUMN_COUNT));
439 EXPECT_EQ(2, GetIntAttr(table, ui::AX_ATTR_TABLE_ROW_COUNT));
441 const ui::AXNode* cell1 = table->ChildAtIndex(0)->ChildAtIndex(0);
442 const ui::AXNode* cell2 = table->ChildAtIndex(0)->ChildAtIndex(1);
443 const ui::AXNode* cell3 = table->ChildAtIndex(1)->ChildAtIndex(0);
444 const ui::AXNode* cell4 = table->ChildAtIndex(1)->ChildAtIndex(1);
447 table->data().intlist_attributes[0].first);
449 table->data().intlist_attributes[0].second;