Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / universal-hover-quirk.html
blob8196142bcbf1c5cb1cb01e8d5f2e4fe9c0e17ee5
1 <html>
2 <head>
3 <title></title>
4 <style type="text/css">
5 div#t :hover { color: red; }
6 </style>
7 <script type="text/javascript">
8 function test()
10 if (!window.eventSender)
11 return;
12 eventSender.mouseMoveTo(0, 0);
13 document.body.offsetTop; // force layout
14 eventSender.mouseMoveTo(16, 16); // hover
15 eventSender.mouseDown(); // get noticed
16 eventSender.mouseUp();
18 </script>
19 </head>
20 <body onload="test()">
21 <div id="t">
22 <span>This should not turn red when hovered.</span>
23 </div>
24 <hr>
25 <p>
26 Test for
27 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=7218">http://bugzilla.opendarwin.org/show_bug.cgi?id=7218</a>
28 Text underlined on mouse over</i>.
29 This tests that <code>*:hover</code> does not match anything in quirks mode.
30 </p>
31 </body>
32 </html>