]>
iEval git - html-element-library.git/blob - t/position.t
11 <td>a <td>a <td>a <td>a
14 <td>a <td>a <td id=findme>a <td>a
21 my $t1 = HTML
::TreeBuilder
->new_from_content ($html) ;
22 my $found = $t1->look_down(id
=> 'findme');
24 my $pos = join ' ', $found->position;
25 is
$pos, '-1 1 0 1 2';
This page took 0.049971 seconds and 4 git commands to generate.