Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / screen-availLeft.html
blobe8d9f390d589b281911e9fe0c586b160aed7560e
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
5 function log(s)
7 var output = document.getElementById('output');
8 output.innerHTML += s + "<br>";
11 function doTest()
13 window.setInterval(function() {
15 var screen = window.screen;
16 log('screen availLeft: ' + screen.availLeft + ' availTop: ' + screen.availTop);
18 }, 1000);
20 window.addEventListener('load', doTest, false);
21 </script>
22 </head>
23 <body>
24 <p>On a two-monitor system, configure the menu bar to be on the right screen. Then drag this window between screens. When on the left screen, screen.availLeft should be negative.</p>
25 <div id="output"></div>
26 </body>
27 </html>