blob: ae230c86c5c213761b70e924feeda7783f143d3d [file] [log] [blame]
div#a { width: 100px; height: 100px; background-color: lightblue; }
div#b { display: none; }
div#b a { display: block; width: 100px; height: 100px; background-color: blue; }
div#a:hover + div { display:block; }
Test for <i><a href="rdar://problem/7873647">rdar://problem/7873647</a>
Crash when updating hover state</i>.
Hover over the light blue square, then move down into the blue square. The browser should not crash.
<div id="a"></div>
<div id="b">
if (window.testRunner) {
var y = document.getElementById("a").getBoundingClientRect().top;
eventSender.mouseMoveTo(50, y + 50);
eventSender.mouseMoveTo(50, y + 150);