Closed Bug 622558 Opened 9 years ago Closed 9 years ago
Custom Validity() is used, :-moz-ui-invalid should always apply
1. Open the testcase (URL field), type 'foo'. 2. The input is now invalid but :-moz-ui-invalid doesn't apply. 3. Un-focus the text field: now :-moz-ui-invalid applies. Expected results: 2. should be "The input is invalid and :-moz-ui-invalid applies."
This patch makes :-moz-ui-invalid always apply when an element suffers from a custom validity. Actually, even if novalidate has been set. I don't know if that's what we want but I'm going to open a bug for novalidate so I will take a decision in this bug.
Assignee: nobody → mounir.lamouri
Status: NEW → ASSIGNED
Attachment #500836 - Flags: review?(jonas)
Whiteboard: [needs-review] → [needs-review][passed-try]
Whiteboard: [needs-review][passed-try] → [needs-landing][passed-try]
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
You need to log in before you can comment on or make changes to this bug.