WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 59019
97085
Input required not working
https://bugs.webkit.org/show_bug.cgi?id=97085
Summary
Input required not working
James Brooks
Reported
2012-09-19 02:03:48 PDT
I was testing Modernizr.input.required earlier in Safari which returned true, even though it's unsupported in Safari. This bug has been confirmed by Paul Irish in Safari 5.1 (
https://github.com/Modernizr/Modernizr/issues/697
) I believe Chrome has this built in, but Safari is totally unsupported -
http://jsbin.com/upokin/1/
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-09-19 11:18:07 PDT
It's unclear from the linked report what the WebKit bug is here. What does Modernizr do that makes it arrive at the wrong conclusion?
Kent Tamura
Comment 2
2012-09-19 16:29:04 PDT
(In reply to
comment #0
)
> I was testing Modernizr.input.required earlier in Safari which returned true, even though it's unsupported in Safari. This bug has been confirmed by Paul Irish in Safari 5.1 (
https://github.com/Modernizr/Modernizr/issues/697
)
This conversation is about interactive validation feature. Safari supports the required attribute. - <input required> correctly matches :invalid selector - input.validity.valueMissing correctly returns true for <input required> But form submission is not prevented because Safari has no interactive validation feature. *** This bug has been marked as a duplicate of
bug 59019
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug