On Mon, 2004-07-19 at 20:35, Gisle Aas wrote: > Michael Alan Dorman <[EMAIL PROTECTED]> writes:
> > + elsif ($tag eq "button") { > > + my $type = delete $attr->{type} || "submit"; > > + $attr->{value_name} = $p->get_phrase; > > + $f->push_input($type, $attr); > > I don't think we should support <button type="checkbox"> and similar > so I suggest we only push the input if the $type is submit at this > point. FWIW, the only allowed values for the type attribute for button in HTML 4.0 and later are "submit" (default), "reset", and "button".