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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 16:56:26 PST 2010


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

           Summary: :invalid only works when input is in a form
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org
                CC: michelangelo at webkit.org, tkent at chromium.org


Created an attachment (id=48377)
 --> (https://bugs.webkit.org/attachment.cgi?id=48377)
Test case

If I have an input in invalid state (validity.valid === false) I would expect
the :invalid rule to apply to it. However, the CSS rule is only applied if the
input is inside a form. The validity state works correctly outside forms.

-- 
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