[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / ManualTests / fullscreen / full-screen-zero-width.html
1 <style>
2     div { width: 0px; }
3     span { text-decoration: underline; cursor: hand; }
4 </style>
5 <script>
6 function toggleFullScreen() {
7     if (document.webkitIsFullScreen)
8         document.webkitCancelFullScreen();
9     else
10         document.getElementsByTagName('div')[0].webkitRequestFullscreen();
11 }
12 </script>
13 <body>
14     This tests that an element with a 0px width will not cause the window to disappear when entering full screen. <span onclick="toggleFullScreen()">Click to toggle full screen.</span>
15     <div>
16     </div>
17 </body>