| <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> |