Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-iframe-allowed-nested.html
blobe4256326689b33668b290b5055b116ec8ea9e325
1 <!DOCTYPE html>
2 <p>Test entering full screen for nested iframes.</p>
3 <p>To test manually, click into inner frame, the page should enter full screen mode.</p>
4 <script src="full-screen-test.js"></script>
5 <iframe allowfullscreen src="resources/full-screen-iframe-allowed-nested1.html">
6 </iframe>
7 <script>
8 window.onmessage = function () { // iframes have been loaded and messaged us.
9 // Send click to center of iframe.
10 iframe = document.getElementsByTagName("iframe")[0];
11 x = iframe.offsetLeft + iframe.offsetWidth / 2;
12 y = iframe.offsetTop + iframe.offsetHeight / 2;
13 if (window.eventSender) {
14 eventSender.mouseMoveTo(x, y);
15 eventSender.mouseDown();
16 eventSender.mouseUp();
19 window.onmessage = function (messageEvent) {
20 consoleWrite(messageEvent.data);
21 endTest();
24 </script>