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

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

Received on Wednesday, 15 June 2011 13:14:23 UTC