blob: 8196142bcbf1c5cb1cb01e8d5f2e4fe9c0e17ee5 [file] [log] [blame]
<html>
<head>
<title></title>
<style type="text/css">
div#t :hover { color: red; }
</style>
<script type="text/javascript">
function test()
{
if (!window.eventSender)
return;
eventSender.mouseMoveTo(0, 0);
document.body.offsetTop; // force layout
eventSender.mouseMoveTo(16, 16); // hover
eventSender.mouseDown(); // get noticed
eventSender.mouseUp();
}
</script>
</head>
<body onload="test()">
<div id="t">
<span>This should not turn red when hovered.</span>
</div>
<hr>
<p>
Test for
<i><a href="https://bugs.webkit.org/show_bug.cgi?id=7218">http://bugzilla.opendarwin.org/show_bug.cgi?id=7218</a>
Text underlined on mouse over</i>.
This tests that <code>*:hover</code> does not match anything in quirks mode.
</p>
</body>
</html>