blob: cbd8c4c4080a2187c3f3c438ac9d9fd5575a65f8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.parent {
position: relative;
padding: 10px;
background-color: silver;
}
.child {
position: absolute;
width: 200px;
height: 200px;
top: 0px;
background-color: green;
display: none;
}
#target2 .child {
display: block;
}
</style>
</head>
<body>
<div>
Test that clearing dynamically activated :hover rule affecting descendants works.
</div>
<div id="target" class="parent enableHover">
Hover to see a green box below.
<div class="child"></div>
</div>
<div id="target2" class="parent enableHover">
Hover to see a green box below.
<div class="child"></div>
</div>
</body>
</html>