W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

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

From: Eduard Pascual <herenvardo@gmail.com>
Date: Wed, 15 Jun 2011 22:14:23 +0200
Message-ID: <BANLkTinV=U1i=JwbvGDRdJ6KKG43EqTtRQ@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC