Summary: | Crashing with CSS hover and -webkit-box-shadow on Safari, Latest WebKit | ||
---|---|---|---|
Product: | WebKit | Reporter: | Taiyo Fujii <taiyoster> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Critical | CC: | phiw2, tony, webkit9 |
Priority: | P1 | Keywords: | HasReduction, InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.6 | ||
URL: | http://taiyolab.com/webkitreport/mouse_event_crash.html |
Description
Taiyo Fujii
2009-12-28 19:41:58 PST
Actually, this has nothing to do with -webkit-box-shadow, the bug occurs because the of the .upper:hover + .lower style. The problem is that when you hover over the upper div and then immediately move the mouse to the lower div, the upper div's style is not hover any more and so updateHoverActiveState gets confused and crashes. I'm still looking into this crash further but wanted to at least mention the cause. If anyone has any ideas how we can do an automated test case for this (for when it's fixed) please comment. I don't know how we can mimic this particular mouse movement in code. How about considering Quartz Event Services. http://developer.apple.com/mac/library/documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html CGEventCreateMouseEvent send global events to application. I don't know about WebKit test process ( and not developer ) then Quartz Event Service helps your test. (In reply to comment #2) > Actually, this has nothing to do with -webkit-box-shadow, the bug occurs > because the of the .upper:hover + .lower style. The problem is that when you > hover over the upper div and then immediately move the mouse to the lower div, > the upper div's style is not hover any more and so updateHoverActiveState gets > confused and crashes. I'm still looking into this crash further but wanted to > at least mention the cause. If anyone has any ideas how we can do an automated > test case for this (for when it's fixed) please comment. I don't know how we > can mimic this particular mouse movement in code. |