OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 WebKit Bug 89386 - Crash in RenderInline::willBeDestroyed.<br /> | 4 WebKit Bug 89386 - Crash in RenderInline::willBeDestroyed.<br /> |
5 Test passes if it does not crash. | 5 Test passes if it does not crash. |
6 <summary> | 6 <summary> |
7 <i> | 7 <i> |
8 <span id="test"> | 8 <span id="test"> |
9 <div></div> | 9 <div></div> |
10 </span> | 10 </span> |
11 </i> | 11 </i> |
12 </summary> | 12 </summary> |
13 <script> | 13 <script> |
14 if (window.testRunner) | 14 if (window.testRunner) |
15 testRunner.dumpAsText(); | 15 testRunner.dumpAsText(); |
16 | 16 |
17 if ("webkitRequestFullScreen" in Element.prototype) { | 17 var span = document.getElementById('test'); |
18 » var span = document.getElementById('test'); | 18 var fullscreenChangeEvent = function(event) { |
19 » var fullscreenChangeEvent = function(event) { | 19 if (document.webkitIsFullScreen) |
20 » if (document.webkitIsFullScreen) | 20 document.webkitCancelFullScreen(); |
21 » document.webkitCancelFullScreen(); | 21 }; |
22 » }; | |
23 | 22 |
24 » document.addEventListener('webkitfullscreenchange', fullscreenChangeEven
t); | 23 document.addEventListener('webkitfullscreenchange', fullscreenChangeEvent); |
25 » document.addEventListener('keydown', function () { | 24 document.addEventListener('keydown', function () { |
26 » span.webkitRequestFullScreen(); | 25 span.webkitRequestFullScreen(); |
27 }); | 26 }); |
28 | 27 |
29 eventSender.keyDown('a'); | 28 eventSender.keyDown('a'); |
30 } | |
31 </script> | 29 </script> |
32 </body> | 30 </body> |
33 </html> | 31 </html> |
OLD | NEW |