4 <title>List-item + :after pseudo-class
</title>
5 <style type=
"text/css">
18 <script type=
"application/javascript">
20 if (!window.testRunner)
23 window.testRunner.dumpAsText();
24 window.testRunner.waitUntilDone();
25 window.eventSender.mouseMoveTo(
0,
0);
26 window.setTimeout(hover,
100);
30 var element = document.getElementById('text');
31 var x = element.offsetLeft + element.offsetWidth /
2;
32 var y = element.offsetTop + element.offsetHeight /
2;
33 window.eventSender.mouseMoveTo(x, y);
34 window.setTimeout(finalize,
100);
38 window.testRunner.notifyDone();
41 window.addEventListener('load', run, false);
45 <p>This is a test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=30944">bug
30944</a>. Passes if it does not crash.
</p>
48 <a id=
"anchor" href=
"#"><span id=
"text">Hover me
</span></a>