RESOLVED WORKSFORME 24008
Crash on list hover. CSS issue.
https://bugs.webkit.org/show_bug.cgi?id=24008
Summary Crash on list hover. CSS issue.
Daniel Samuels
Reported 2009-02-18 13:30:32 PST
When the user hovers over the top element and then moves the cursor down onto the element which appears, WebKit will crash. I have simplified the following code to the bare minimum required for the crash to occur. <style type="text/css" media="screen"> .nav li { display: inline; } .nav .primary_nav li ul { width: 160px; display: none; } .nav .primary_nav li:hover ul { display: block; } </style> <div class="nav"> <ul class="primary_nav"> <li class="drop"> <!-- The crash has something to do with the width of this element. --> <!-- When the mouse moves off of the right edge of this element, it crashes. --> <a href="#">1234567890</a> <ul> <!-- The length of this element makes a difference too. --> <!-- The mouse must move from one element straight into the other. --> <li><a href="#">987654321</a></li> </ul> </li> </ul> </div>
Attachments
Test file (657 bytes, text/html)
2009-02-18 15:47 PST, Daniel Samuels
no flags
Crash report (43.03 KB, text/plain)
2009-02-18 15:48 PST, Daniel Samuels
no flags
Mark Rowe (bdash)
Comment 1 2009-02-18 15:36:45 PST
Can you please attach the test case as a file to the bug report, and also attach a crash log? <http://webkit.org/quality/crashlogs.html> has details.
Daniel Samuels
Comment 2 2009-02-18 15:47:43 PST
Created attachment 27766 [details] Test file
Daniel Samuels
Comment 3 2009-02-18 15:48:00 PST
Created attachment 27767 [details] Crash report
Daniel Samuels
Comment 4 2009-02-18 15:48:29 PST
Requested files added.
Mark Rowe (bdash)
Comment 5 2009-02-18 15:50:24 PST
Josh L
Comment 6 2009-03-16 00:41:07 PDT
Possibly related - the following CSS will leave visual artifacts in Webkit (both Safari and Chrome): li:hover { margin: -1px 0px -1px 0px; border: 1px solid #86a3bf; border-width: 1px 0px 1px 0px; background: transparent url(blank.gif) no-repeat scroll 0px 0px; }
Shane Stephens
Comment 7 2011-02-03 12:31:28 PST
Is this fixed? I can't repro on Snow Leopard, either in release or head.
Alexey Proskuryakov
Comment 8 2011-02-03 15:44:28 PST
I also can't reproduce in Safari 5.0.3. We've had a number of fixes for similar issues, so this seems to have been taken care of indirectly.
Note You need to log in before you can comment on or make changes to this bug.