blob: bf7fbbcf1fe9d22a9cdbaed5ba9350b118505d6d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#block1 {
width: 200px;
height: 100px;
border: 4px solid darkgreen;
background-color: white;
z-index: 0;
}
#block2 {
width: 100px;
height: 50px;
border: 4px solid darkred;
background-color: red;
z-index: 500;
position: relative;
left: 50px;
top: 25px;
}
</style>
</head>
<body>
<div>This tests that an element with a positive z-index appears behind the full screen iframe element.
After entering full screen mode, the whole screen should be white.
Click <button>go full screen</button> to run the test.</div>
<div id="block2"></div>
<iframe id="block1"></iframe>
<div>EVENT(webkitfullscreenerror)<br>END OF TEST<br></div>
</body>
</html>