<?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>138689</bug_id>
          
          <creation_ts>2014-11-13 00:27:31 -0800</creation_ts>
          <short_desc>Select Input becomes unusable when the focus shifts from select input to textarea in the same page</short_desc>
          <delta_ts>2015-09-03 23:43: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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.3</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://jsbin.com/genowiruli/4/edit</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dinesh">dineshsaravanank</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jhoneycutt</cc>
    
    <cc>jonlee</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1048369</commentid>
    <comment_count>0</comment_count>
    <who name="Dinesh">dineshsaravanank</who>
    <bug_when>2014-11-13 00:27:31 -0800</bug_when>
    <thetext>When a web page have the select input and textarea in the same page, and the select is open, Shifting the focus from the select input to the textarea using textarea.focus() programatically renders the select input unusable.

Tested in OSX safari/webkit

Steps:
1) Goto: http://jsbin.com/genowiruli/4/edit
2) Click on the select input and keep it open
3) Wait for 7 seconds for the timeout to cause the focus to shift to textarea
4) Click on the textarea and try to change the select input
5) Notice the select input is not changing anymore</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123090</commentid>
    <comment_count>1</comment_count>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2015-09-03 10:40:25 -0700</bug_when>
    <thetext>The popup menu should be dismissed when the textarea gains focus. &lt;https://bugs.webkit.org/show_bug.cgi?id=113220&gt; implemented that. It also added a regression test, fast/forms/select/popup-closes-on-blur.html, but the test was never enabled on the Mac. This might be because showing a popup menu on the Mac spins a nested run loop that breaks the test infrastructure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123238</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-09-03 17:48:35 -0700</bug_when>
    <thetext>&lt;rdar://problem/22569881&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>