[whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

Eduard Pascual herenvardo at gmail.com
Wed Jun 15 13:14:23 PDT 2011


2011/6/15 Boris Zbarsky <bzbarsky at mit.edu>:
> A form need not contain its controls.  Consider this HTML document:
>
>  <!DOCTYPE html>
>  <form id="myform" action="something">
>    <input type="submit">
>  </form>
>  <input type="number" value="abracadabra" form="myform">

So, indeed, I was missing something. Disregard my previous posts then.

Regards,
Eduard Pascual



More information about the whatwg mailing list