blob: 8a661b52418e33ea5a7ceba335497d6b12bf0778 [file] [log] [blame]
<!DOCTYPE html>
<style>
div { width: 100px; height: 100px; overflow: scroll; background-color: #ccc; }
div::-webkit-scrollbar { width: 20px; height: 20px; background-color: yellow; }
</style>
<p>Passes if the test does not crash.</p>
<div id=div></div>
<script src="full-screen-test.js"></script>
<script>
document.addEventListener("webkitfullscreenchange", endTest, { once: true });
runWithKeyDown(() => div.webkitRequestFullScreen());
</script>