Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-letter-hover.html
blobe4aac446b8e1349e8b472daaa07dd940fce98828
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <title></title>
5 <style type="text/css">
6 #target:first-letter { color: blue; }
7 #target:hover { color:green; }
8 </style>
10 <script type="text/javascript">
11 function test()
13 if (!window.eventSender)
14 return;
15 document.body.offsetTop; // Force layout. The mouse is not tracked before first layout.
16 eventSender.mouseMoveTo(60, 95); // Hover.
17 document.body.offsetTop; // Update layout for hovered state.
19 </script>
21 </head>
22 <body onload="test()">
23 <p>
24 Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=4104">
25 http://bugs.webkit.org/show_bug.cgi?id=4104
26 </a>
27 first-letter not updating style with hover
28 </p>
29 <p>
30 The next line of text should turn green when we hover over it.
31 </p>
32 <div id="target">The first letter of this paragraph should be larger than the rest. If you hover over this paragraph, all of the text (including the first letter) should turn green. If the first letter remains black, then there is a
33 bug!
34 </div>
35 </body>
36 </html>