<?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>48491</bug_id>
          
          <creation_ts>2010-10-27 18:59:34 -0700</creation_ts>
          <short_desc>using setCustomValidity makes checkValidity unreliable</short_desc>
          <delta_ts>2010-10-27 23:10:09 -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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://afarkas.github.com/webshim/tests/safari.html</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="alexander farkas">info</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>300797</commentid>
    <comment_count>0</comment_count>
    <who name="alexander farkas">info</who>
    <bug_when>2010-10-27 18:59:34 -0700</bug_when>
    <thetext>This bug is extremly curious. After setting setCustomValidity(&apos;error&apos;) on an element with a constrain (i.e.: required). The checkValidity method return false, if the field is not empty and the setCustomValidity was set to an empty string. The validityState returns true for the valid-flag. You will find a testcase @ http://afarkas.github.com/webshim/tests/safari.html. (Hope this makes it much clearer). This bug should have a high priority and should block bug 28649.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>300893</commentid>
    <comment_count>1</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-10-27 23:10:09 -0700</bug_when>
    <thetext>I confirmed that Safari 5.0.2 had this problem.  However Safari nightly with today&apos;s WebKit and Google Chrome 8.0.552.18 doesn&apos;t have the problem.  I&apos;m not sure what revision fixed the problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>