[Webkit-unassigned] [Bug 34733] :invalid only works when input is in a form

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 9 10:46:53 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34733


Michelangelo De Simone <michelangelo at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at hixie.ch




--- Comment #2 from Michelangelo De Simone <michelangelo at webkit.org>  2010-02-09 10:46:52 PST ---
(In reply to comment #1)
> I checked the current HTML5 draft, and I think we don't need to restrict
> validation to form controls inside a <form> element.

I may be wrong but as far as I remember those two pseudoclasses apply only to
"validable" elements; to be validable an element should be bound to a form,
otherwise is de-facto non-validable (and, thus, can't be neither :valid or
:invalid).

CC'ing Hixie

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list