Closed
Bug 622597
Opened 14 years ago
Closed 14 years ago
form.novalidate should not be taken into account for validity UI when focusing an element
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla2.0b11
People
(Reporter: mounir, Assigned: mounir)
References
()
Details
Attachments
(1 file)
14.59 KB,
patch
|
sicking
:
review+
sicking
:
approval2.0+
|
Details | Diff | Splinter Review |
1. Open test case (URL field) ;
2. Type something in the text field ;
Actual result: the text field is invalid but :-moz-ui-invalid doesn't apply.
Expected result: the text field is invalid and :-moz-ui-invalid applies.
(if you un-focus the text field, you will see :-moz-ui-invalid applying)
Assignee | ||
Comment 1•14 years ago
|
||
Wrong testcase...
1. Open test case (URL field) ;
2. Type one character in the text field ;
3. Blur the text field ;
3. Type one character in the text field.
Actual result: the text field is invalid but :-moz-ui-invalid doesn't apply.
Expected result: the text field is invalid and :-moz-ui-invalid applies.
Assignee | ||
Comment 2•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs-review]
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs-review] → [needs-review][passed-try]
Assignee | ||
Comment 3•14 years ago
|
||
Jonas, this is also fixing another issue: if .setCustomValidity() is used and novalidate is set on the form owner, it will prevent the invalid UI to be shown.
Attachment #501004 -
Flags: review?(jonas)
Attachment #501004 -
Flags: review+
Attachment #501004 -
Flags: approval2.0+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs-review][passed-try] → [needs landing][passed try]
Assignee | ||
Comment 4•14 years ago
|
||
Flags: in-testsuite+
Whiteboard: [needs landing][passed try]
Target Milestone: --- → mozilla2.0b11
Assignee | ||
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•