OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src=full-screen-test.js></script> |
| 3 <style> |
| 4 #v { |
| 5 writing-mode: vertical-rl; |
| 6 } |
| 7 </style> |
| 8 <div id=v><span id=fullscreen></span></div> |
| 9 <script> |
| 10 function fullscreenChanged() { |
| 11 // Change the 'display' property to cause reattach. |
| 12 fullscreen.style.display = 'block'; |
| 13 document.body.offsetTop; |
| 14 |
| 15 document.exitFullscreen(); |
| 16 |
| 17 endTest(); |
| 18 } |
| 19 waitForEvent(document, "webkitfullscreenchange", fullscreenChanged); |
| 20 runWithKeyDown(function () { |
| 21 fullscreen.webkitRequestFullscreen(); |
| 22 }); |
| 23 </script> |
OLD | NEW |