blob: 532434ae683236626550b9f16fea080863b8225c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<html>
<head>
<style type='text/css'>
:hover { background-color: #666; }
</style>
<script type="text/javascript">
function test()
{
if (!window.eventSender)
return;
document.body.offsetTop; // Force layout. The mouse is not tracked before first layout.
eventSender.mouseMoveTo(16, 16); // Hover.
document.body.offsetTop; // Update layout for hovered state.
}
</script>
</head>
<body onload="test()">
<h3>Test of unqualifed :hover selector in quirks parsing mode</h3>
<p>Moving the mouse anywhere over the document should result no change to the background color.</p>
</body>
</html>
|