Bug 139645

Summary: clicking on select list item makes hidden layer visible
Product: WebKit Reporter: Fowowski <artur.kwiatkowski>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Major CC: simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 8   

Description Fowowski 2014-12-15 05:27:30 PST
I've got a fiddle here: http://jsfiddle.net/fjjr6sq2/1/ which is really simple function

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

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'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
Comment 1 Alexey Proskuryakov 2014-12-15 23:38:05 PST
If I understand this report correctly, this happens in Safari too, not just Chrome.
Comment 2 Fowowski 2014-12-16 00:24:35 PST
@Alexey Proskuryakov - Im sorry, this actually does not tend to happen anymore in safari for windows nor under safari for mac. Although it'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?
Comment 3 Simon Fraser (smfr) 2014-12-16 10:44:16 PST
Does not reproduce in recent WebKit builds. If this is Chrome-only, please report against blink.