-
Notifications
You must be signed in to change notification settings - Fork 0
/
fstest.htm
60 lines (58 loc) · 1.75 KB
/
fstest.htm
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<!--
This test case verifies fullscreen functionality when the parent of the fullscreened element is independently rendered.
-->
<html onmouseup="RunTests()">
<head>
<script>
function RunTests() {
console.log(window["fselem"].contentWindow.document.documentElement);
window["fselem"].contentWindow.document.documentElement.webkitRequestFullscreen();
}
</script>
<style>
#headersection {
background: #2f73c6;
min-height: 78px;
box-sizing: border-box;
position: relative;
z-index: 2;
overflow: visible;
}
#imgarticle {
background: #000000;
width: 100%;
position: relative;
display:block;
z-index: 1;
}
#imgcontainer {
max-width: 1050px;
width: 100%;
margin: 0 auto;
}
#imgDiv {
float: left;
width: 72.47;
height: 428px;
}
#fselem {
padding: 50px;
width:300px;
height:200px;
border: 5px dashed #654321;
}
</style>
</head>
<body style="background-color: #f9f9f9; margin:0px; padding:0px; box-sizing:border-box;">
<section id="headersection"></section>
<article id="imgarticle">
<article id="imgcontainer">
<div id="imgDiv">
<iframe id="fselem" src="C:\Users\donchan.REDMOND\Documents\fullscreentests\fs_video_allowfullscreen\video_allowfullscreen.html" allowfullscreen>
</iframe>
</div>
</article>
</article>
</body>
</html>