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/
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?
(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 ***