Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / parent-flow-inline-with-block-child.html
blob7324dcd1363b299f6c359564f3feec6fe5079112
1 <!DOCTYPE html>
3 <div>
4 <span>1</span>
5 <span id='c2'>2</span>
6 </div>
8 <script>
9 if (window.testRunner)
10 testRunner.waitUntilDone();
12 var callback;
13 var fullscreenChanged = function(event)
15 if (callback)
16 callback(event)
18 document.addEventListener('webkitfullscreenchange', fullscreenChanged);
20 document.body.offsetTop;
21 var span = document.getElementById('c2');
22 var div = span.parentNode;
24 var spanEnteredFullScreen = function(event) {
25 setTimeout(function () {
26 span.appendChild(document.createElement('div'));
27 callback = function() {
28 if (window.testRunner)
29 testRunner.notifyDone();
31 document.webkitCancelFullScreen();
32 }, 0);
35 callback = spanEnteredFullScreen;
37 document.addEventListener('keydown', function () {
38 span.webkitRequestFullScreen();
39 });
40 if (window.eventSender)
41 eventSender.keyDown('a');
42 </script>