summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/resources/hover-subframe-1.html
blob: 181956b1a7a184bf94df788d2d7ed36f95bea65b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<style>
body { margin: 0px; }
.outer {
        margin: -100px;
	width: 400px;
        height: 500px;
	background-color: yellow;
}
.outer:hover {
        background-color: red;
}
.inner {
	visibility: hidden;
	width: 100%;
	height: 50%;
	background-color: cyan;
}
</style>
</head>

<body>
<div class="outer" 
     onmouseover="firstChild.style.visibility='visible'" 
     onmouseout="firstChild.style.visibility='hidden'"><div class="inner"></div></div>
</body>
</html>