4 <style type=
"text/css">
5 span#
t:hover
{ color: red
; }
7 <script type=
"text/javascript">
10 if (!window
.eventSender
)
12 document
.body
.offsetTop
; // Force layout. The mouse is not tracked before first layout.
13 eventSender
.mouseMoveTo(16, 16); // Hover.
14 document
.body
.offsetTop
; // Update layout for hovered state.
18 <body onload=
"test()">
20 <span id=
"t">This should turn red when hovered.
</span>
25 <i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=7327">http://bugzilla.opendarwin.org/show_bug.cgi?id=
7327</a>
26 REGRESSION (r12869): :hover subselector does not work in quirks mode
</i>.
27 This tests that
<code>span#t:hover
</code> matches the hovered span.