| span#t:hover { color: red; } |
| <script type="text/javascript"> |
| document.body.offsetTop; // Force layout. The mouse is not tracked before first layout. |
| eventSender.mouseMoveTo(16, 16); // Hover. |
| document.body.offsetTop; // Update layout for hovered state. |
| <span id="t">This should turn red when hovered.</span> |
| <i><a href="https://bugs.webkit.org/show_bug.cgi?id=7327">http://bugzilla.opendarwin.org/show_bug.cgi?id=7327</a> |
| REGRESSION (r12869): :hover subselector does not work in quirks mode</i>. |
| This tests that <code>span#t:hover</code> matches the hovered span. |