[Webkit-unassigned] [Bug 91304] New: input[value=foo] won't match without default value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 18:13:28 PDT 2012


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

           Summary: input[value=foo] won't match without default value
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hellosexyprout at gmail.com


Created an attachment (id=152392)
 --> (https://bugs.webkit.org/attachment.cgi?id=152392&action=review)
Demo

The selector `input[value=foo]` won't match an <input> element if it hasn't been given a default value.

For example, it will match

    <input value=foo>

but not

    <input>
    <script>document.getElementsByTagName("input")[0].value = "foo"</script>

or

    <input>

where the user fills the field herself.

See the attached file for a demo.

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