Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
|
<meta charset="utf-8">
|
|
<title>mozRequestFullScreen test</title>
|
|
<script defer src="../../js/UI/fullscreen.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="../../style/UI.css">
|
|
<link rel="stylesheet" type="text/css" href="/shared/style/buttons.css">
|
|
</head>
|
|
<body>
|
|
<p>Test mozRequestFullScreen() requests from web content.
|
|
System app should handle this properly and properly cancel the full screen
|
|
if there are some concurrent action that cannot work with it.</p>
|
|
<fieldset>
|
|
<legend>Test on <b><u>div element</u></b> of this iframe within mozbrowser</legend>
|
|
<section>
|
|
<div id="fullscreen-div">
|
|
<p>Am I full screen?</p>
|
|
<button id="testBtn-div">Test</button>
|
|
</div>
|
|
</section>
|
|
</fieldset>
|
|
<br>
|
|
<fieldset>
|
|
<legend>Test on <b><u>this iframe</u></b>, an element within the mozbrowser</legend>
|
|
<section>
|
|
<button id="testBtn">Test</button>
|
|
</section>
|
|
</fieldset>
|
|
</body>
|
|
</html>
|