Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-letter-first-line-hover.html
blob9b9637335877111230ed5a9a5aee3d6dd2ba2b8e
1 <html>
2 <head>
3 <title></title>
4 <style type="text/css">
5 * {
6 color:red;
7 font-size:48px;
9 .description {
10 color:black;
11 font-size:16px;
13 p:first-line {
14 color:green;
16 p:first-letter {
17 background-color:pink;
19 p:hover {
20 /* empty */
22 </style>
24 <script type="text/javascript">
25 function test()
27 if (!window.eventSender)
28 return;
29 document.body.offsetTop; // Force layout. The mouse is not tracked before first layout.
30 eventSender.mouseMoveTo(24, 24); // Hover.
31 document.body.offsetTop; // Update layout for hovered state.
33 </script>
35 </head>
36 <body onload="test()">
37 <p>
38 ABCDEFG<br/>
39 <span class="description">
40 Hover over "A". It must stay green.
41 </span>
42 </p>
43 </body>
44 </html>