<!DOCTYPE html> | |
<style> | |
#one { | |
border: 4px solid darkgreen; | |
background-color: green; | |
width: 600px; | |
height: 400px; | |
padding: 4px; | |
} | |
</style> | |
This tests that, if the ancestor of the current full-screen element is removed, full screen mode will exit, and the document will render normally. At the completion of the test, a green box should be visible. Click <button>go full screen</button> to run the test. | |
<div id="one"></div> | |
<div>END OF TEST</div> |