1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
5 <style type=
"text/css">
6 #target:first-letter
{ color: blue
; }
7 #target:hover
{ color:green
; }
10 <script type=
"text/javascript">
13 if (!window
.eventSender
)
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.
22 <body onload=
"test()">
24 Test for
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=4104">
25 http://bugs.webkit.org/show_bug.cgi?id=
4104
27 first-letter not updating style with hover
30 The next line of text should turn green when we hover over it.
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