-1, unless I'm missing something obvious, this modifies our
visible/invisible distinction.

> @@ -534,10 +533,6 @@
>             $new{$whcolor} = name_to_rgb($value);
>           }
>         }
> -       elsif (/\s*display:\s*none\b/i) {
> -         $new{display} = 'none';
> -            $self->put_results(span_invisible => 1);
> -          }
>       }
>        }
>        else {
> @@ -553,21 +548,6 @@
>         $new{$name} = $attr->{$name};
>       }
>        }
> -      # all styles, not part of the if/elsif series
> -      # START test code
> -      if ($name eq "style") {
> -     my $style = $new{style} = $attr->{style};
> -     my @parts = split(/;/, $style);
> -     foreach (@parts) {
> -       if (/\s*display:\s*none\b/i) {
> -         $self->put_results(display_none => 1);
> -         if ($tag eq "img") {
> -           $self->put_results(img_display_none => 1);
> -         }
> -       }
> -     }
> -      }
> -      # END test code
>        if ($new{size} > $self->{max_size}) {
>       $self->{max_size} = $new{size};
>        }
> @@ -845,7 +825,6 @@
>  
>    if ($invisible_for_bayes) {
>      $self->display_text($text, invisible => 1);
> -    $self->put_results(invisible_text => 1);
>    }
>    else {
>      $self->display_text($text);
> 

-- 
Randomly Generated Tagline:
The computer is to the information industry roughly what the
 central power station is to the electrical industry.
                -- Peter Drucker

Attachment: pgpKgIhB9xN4r.pgp
Description: PGP signature

Reply via email to