Index: LayoutTests/fullscreen/parent-flow-inline-with-block-child.html |
diff --git a/LayoutTests/fullscreen/parent-flow-inline-with-block-child.html b/LayoutTests/fullscreen/parent-flow-inline-with-block-child.html |
index 1adcf7cc391fc0a8af619343c3845ea2184f6cd6..7324dcd1363b299f6c359564f3feec6fe5079112 100644 |
--- a/LayoutTests/fullscreen/parent-flow-inline-with-block-child.html |
+++ b/LayoutTests/fullscreen/parent-flow-inline-with-block-child.html |
@@ -6,39 +6,37 @@ |
</div> |
<script> |
- if ('webkitRequestFullScreen' in Element.prototype) { |
- if (window.testRunner) |
- testRunner.waitUntilDone(); |
+ if (window.testRunner) |
+ testRunner.waitUntilDone(); |
- var callback; |
- var fullscreenChanged = function(event) |
- { |
- if (callback) |
- callback(event) |
- }; |
- document.addEventListener('webkitfullscreenchange', fullscreenChanged); |
+ var callback; |
+ var fullscreenChanged = function(event) |
+ { |
+ if (callback) |
+ callback(event) |
+ }; |
+ document.addEventListener('webkitfullscreenchange', fullscreenChanged); |
- document.body.offsetTop; |
- var span = document.getElementById('c2'); |
- var div = span.parentNode; |
+ document.body.offsetTop; |
+ var span = document.getElementById('c2'); |
+ var div = span.parentNode; |
- var spanEnteredFullScreen = function(event) { |
- setTimeout(function () { |
- span.appendChild(document.createElement('div')); |
- callback = function() { |
- if (window.testRunner) |
- testRunner.notifyDone(); |
- } |
- document.webkitCancelFullScreen(); |
- }, 0); |
- }; |
+ var spanEnteredFullScreen = function(event) { |
+ setTimeout(function () { |
+ span.appendChild(document.createElement('div')); |
+ callback = function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ } |
+ document.webkitCancelFullScreen(); |
+ }, 0); |
+ }; |
- callback = spanEnteredFullScreen; |
+ callback = spanEnteredFullScreen; |
- document.addEventListener('keydown', function () { |
- span.webkitRequestFullScreen(); |
- }); |
- if (window.eventSender) |
- eventSender.keyDown('a'); |
- } |
+ document.addEventListener('keydown', function () { |
+ span.webkitRequestFullScreen(); |
+ }); |
+ if (window.eventSender) |
+ eventSender.keyDown('a'); |
</script> |