Re: gitweb html validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 16.11.2016 01:05, Junio C Hamano a écrit :
Ralf Thielow <ralf.thielow@xxxxxxxxx> writes:

Only block level elements are
allowed to be inside form tags, according to
https://www.w3.org/2010/04/xhtml10-strict.html#elem_form
...
I think it's better to just move the <form>-Tag outside of the
surrounding div?
Something like this perhaps, I didn't test it myself yet.

That sounds like a sensible update to me (no, I do not run gitweb
myself).  Is this the only <form> we have in the UI, or is it the
only one that is problematic?

There is an other form in the cgi line 4110 :
        print $cgi->start_form(-method => "get", -action => $action) .
              "<div class=\"search\">\n" .

But this one has a <div class="search"> inside.

The problem with projsearch I want to change is that the div is around the form without a container inside.

I agree with moving the <div class="projsearch"> inside the form if it's a better option.

Best regards



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]