Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / selectors / unqualified-hover-strict.html
bloba33d73492ef2936f2b7c0c7d254a80c817c67b69
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <style type='text/css'>
5 :hover { background-color: #666; }
6 </style>
8 <script type="text/javascript">
9 function test()
11 if (!window.eventSender)
12 return;
14 document.body.offsetTop; // Force layout. The mouse is not tracked before first layout.
15 eventSender.mouseMoveTo(16, 16); // Hover.
16 document.body.offsetTop; // Update layout for hovered state.
18 </script>
19 </head>
20 <body onload="test()">
21 <h3>Test of unqualifed :hover selector in strict parsing mode</h3>
23 <p>Moving the mouse anywhere over the document should result in the background color being changed to grey.</p>
24 </body>
25 </html>