Lines Matching defs:table
45 static const char* contentsInTable = "<html><body><table><tr><td>foo</td><td>bar</td></tr></table></body></html>";
47 static const char* contentsInTableWithHeaders = "<html><body><table><tr><th>foo</th><th>bar</th><th colspan='2'>baz</th></tr><tr><th>qux</th><td>1</td><td>2</td><td>3</td></tr><tr><th rowspan='2'>quux</th><td>4</td><td>5</td><td>6</td></tr><tr><td>6</td><td>7</td><td>8</td></tr><tr><th>corge</th><td>9</td><td>10</td><td>11</td></tr></table><table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table></body></html>";
59 static const char* layoutAndDataTables = "<html><body><table><tr><th>Odd</th><th>Even</th></tr><tr><td>1</td><td>2</td></tr></table><table><tr><td>foo</td><td>bar</td></tr></table></body></html>";
841 /* Check table with both column and row headers. */
842 AtkObject* table = atk_object_ref_accessible_child(axWebView, 0);
843 g_assert(table);
844 g_assert(atk_object_get_role(table) == ATK_ROLE_TABLE);
846 AtkObject* colHeader = atk_table_get_column_header(ATK_TABLE(table), 0);
851 colHeader = atk_table_get_column_header(ATK_TABLE(table), 1);
856 colHeader = atk_table_get_column_header(ATK_TABLE(table), 2);
861 colHeader = atk_table_get_column_header(ATK_TABLE(table), 3);
866 AtkObject* rowHeader = atk_table_get_row_header(ATK_TABLE(table), 0);
871 rowHeader = atk_table_get_row_header(ATK_TABLE(table), 1);
876 rowHeader = atk_table_get_row_header(ATK_TABLE(table), 2);
881 rowHeader = atk_table_get_row_header(ATK_TABLE(table), 3);
886 g_object_unref(table);
888 /* Check table with no headers at all. */
889 table = atk_object_ref_accessible_child(axWebView, 1);
890 g_assert(table);
891 g_assert(atk_object_get_role(table) == ATK_ROLE_TABLE);
893 colHeader = atk_table_get_column_header(ATK_TABLE(table), 0);
896 colHeader = atk_table_get_column_header(ATK_TABLE(table), 1);
899 rowHeader = atk_table_get_row_header(ATK_TABLE(table), 0);
902 rowHeader = atk_table_get_row_header(ATK_TABLE(table), 1);
905 g_object_unref(table);
1358 /* Check the non-layout table (data table). */
1367 /* Check the layout table. */