blob: 85f9a7dd2b9bdbe1de8f5572d23cc3df85cf5b5c [file] [log] [blame]
<style>
body {
font-family: ahem;
-webkit-font-smoothing: none;
}
</style>
<summary>a<span>b<div>c</div>d</span>e</summary>
<script>
if ("webkitRequestFullScreen" in Element.prototype) {
if (window.testRunner)
testRunner.waitUntilDone();
document.body.offsetTop;
var span = document.getElementsByTagName('span')[0];
var fullscreenChangeEvent = function(event) {
if (document.webkitIsFullScreen) {
setTimeout(function () {
document.webkitCancelFullScreen();
}, 0)
} else {
if (window.testRunner)
testRunner.notifyDone();
}
};
document.addEventListener('webkitfullscreenchange', fullscreenChangeEvent);
document.addEventListener('keydown', function () {
span.webkitRequestFullScreen();
});
if (window.eventSender)
eventSender.keyDown('a');
}
</script>