<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>97085</bug_id>
          
          <creation_ts>2012-09-19 02:03:48 -0700</creation_ts>
          <short_desc>Input required not working</short_desc>
          <delta_ts>2016-06-24 08:45:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>59019</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="James Brooks">ukjbrooks</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jonlee</cc>
    
    <cc>m.kurz+webkitbugs</cc>
    
    <cc>paulirish</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>723395</commentid>
    <comment_count>0</comment_count>
    <who name="James Brooks">ukjbrooks</who>
    <bug_when>2012-09-19 02:03:48 -0700</bug_when>
    <thetext>I was testing Modernizr.input.required earlier in Safari which returned true, even though it&apos;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/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723676</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-09-19 11:18:07 -0700</bug_when>
    <thetext>It&apos;s unclear from the linked report what the WebKit bug is here. What does Modernizr do that makes it arrive at the wrong conclusion?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723945</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-09-19 16:29:04 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; I was testing Modernizr.input.required earlier in Safari which returned true, even though it&apos;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.
 - &lt;input required&gt; correctly matches :invalid selector
 - input.validity.valueMissing correctly returns true for &lt;input required&gt;
But form submission is not prevented because Safari has no interactive validation feature.

*** This bug has been marked as a duplicate of bug 59019 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>