1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
4 <title>CSS 2.1 Test Suite: Effect of DOM mutations on :hover matching</title>
5 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes">
6 <script type="text/javascript">
8 var node = document.getElementById("target");
9 node.parentNode.removeChild(node);
13 div#green { color: red; }
14 div:hover { color: green !important; }
18 <div onmouseover="setTimeout(remove, 1000)" id="target">Hover this text,
19 then wait till it disappears. At that point there should be no red.
22 This should end up green.