2 # Test the 3 possible look_down calls to table2()
4 # b = supplied array ref
5 # c = supplied code ref
10 my $o = data
::table2
->new;
12 # a - default table_ld
14 my $tree = mktree
't/html/table2.html';
16 my $table = HTML
::Element
::Library
::ref_or_ld
(
21 isxml
$table, 't/html/table2-table_ld.exp', 'table2 look_down default';
23 # b - arrayref table_ld
25 $table = HTML
::Element
::Library
::ref_or_ld
(
27 [frame
=> 'hsides', rules
=> 'groups']
30 isxml
$table, 't/html/table2-table_ld.exp', 'table2 look_down arrayref';
32 # c - coderef table_ld
34 $table = HTML
::Element
::Library
::ref_or_ld
(
38 my $caption = $t->look_down('_tag' => 'caption');
43 isxml
$table, 't/html/table2-table_ld.exp', 'table2 look_down coderef';
This page took 0.024539 seconds and 4 git commands to generate.