<?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>139645</bug_id>
          
          <creation_ts>2014-12-15 05:27:30 -0800</creation_ts>
          <short_desc>clicking on select list item makes hidden layer visible</short_desc>
          <delta_ts>2014-12-16 10:44:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 8</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fowowski">artur.kwiatkowski</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1055604</commentid>
    <comment_count>0</comment_count>
    <who name="Fowowski">artur.kwiatkowski</who>
    <bug_when>2014-12-15 05:27:30 -0800</bug_when>
    <thetext>I&apos;ve got a fiddle here: http://jsfiddle.net/fjjr6sq2/1/ which is really simple function

$(&quot;.dropdown li&quot;).on(&quot;mouseenter&quot;, function(){
    $(this).find(&quot;.layer&quot;).addClass(&quot;active&quot;);
}).on(&quot;mouseleave&quot;, function(){
    $(this).find(&quot;.layer&quot;).removeClass(&quot;active&quot;);
});

which shows and hides the layer when you mouseenter/mouseleave particular list item. If you exchange the mouseenter/mouseleave with hover function the result is likewise.

This problem exists only on webkit browsers.

The problem:

When I select one of the first elements from the _select list_ then the layer shows suddenly and of course it should not since it&apos;s unrelated to the layer itself. 
Layer should only show itself (gain/loose active class) when I hover on the particular list item not when I click on any position in select box.

My Chrome version is: 39.0.2171.95 m</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1055884</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-12-15 23:38:05 -0800</bug_when>
    <thetext>If I understand this report correctly, this happens in Safari too, not just Chrome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1055899</commentid>
    <comment_count>2</comment_count>
    <who name="Fowowski">artur.kwiatkowski</who>
    <bug_when>2014-12-16 00:24:35 -0800</bug_when>
    <thetext>@Alexey Proskuryakov - Im sorry, this actually does not tend to happen anymore in safari for windows nor under safari for mac. Although it&apos;s a tricky bug I can replicate it only under chrome 39.0.2171.95 m - this didnt change since 38.0.2125.111 m. 

Sorry for missleading description. Should I take this to chromium forums?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1056004</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2014-12-16 10:44:16 -0800</bug_when>
    <thetext>Does not reproduce in recent WebKit builds. If this is Chrome-only, please report against blink.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>