[wp-trac] [WordPress Trac] #15848: Chrome on Linux Has Incorrect Event Target in Some Situations

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 16 16:56:56 UTC 2010


#15848: Chrome on Linux Has Incorrect Event Target in Some Situations
--------------------------+----------------------------
 Reporter:  filosofo      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  lowest        |  Milestone:  Future Release
Component:  General       |    Version:  3.1
 Severity:  trivial       |   Keywords:  needs-patch
--------------------------+----------------------------
 The result is that ''clicking'' a select element triggers a ''mouseover''
 event on an element not in its ancestry.  In the case of the WordPress
 admin, this means triggering the hover state on the admin bar (which
 reveals the dropdown sub-menu).

 I can reproduce this in Chrome 8.0.552.224 on Linux but not Chrome
 8.0.552.224 on Windows.

 Attached is a page simplified to the bug's barest essentials.  Change
 #some-element's `position`, `top`, or `left` CSS properties, and the bug
 does not occur.  (The borders and positioning on the select element are
 just to make it clear that there's no overlap of the elements.)

 I will report this upstream to Chrome.  There are several options to
 prevent it from happening, but they're somewhat hacky. I'm going to see if
 I can come up with less-hacky solution before creating a patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15848>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list