2 use Test::More qw(no_plan);
5 use HTML::Element::Library;
14 <td>a <td>a <td>a <td>a
17 <td>a <td>a <td id=findme>a <td>a
27 $t1 = HTML::TreeBuilder->new_from_content ( $html ) ;
29 my $found= $t1->look_down(id => 'findme');
32 my @found = $found->position;
35 is("@found", '-1 1 0 1 2');