Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / plugins / mouse-events-fixedpos.html
blobecace9f9c51bd3f4929da318070fb008ed5bb523
1 <html>
2 <style type="text/css" media="screen">
3 body {
4 height: 1000px;
7 .fixed {
8 position: fixed;
9 left: 20px;
10 top: 20px;
13 p {
14 margin-top: 200px;
17 embed {
18 margin: 20px;
20 </style>
21 <script>
23 function runTest()
25 window.scrollBy(50, 50);
27 if (!window.testRunner) {
28 document.body.appendChild(document.createTextNode("This test does not work in manual mode."));
29 return;
32 testRunner.dumpAsText();
34 plg.windowedPlugin = false;
35 plg.eventLoggingEnabled = true;
37 eventSender.mouseMoveTo(70,70);
38 eventSender.mouseMoveTo(90,90);
39 eventSender.mouseDown();
40 eventSender.mouseUp();
41 eventSender.mouseMoveTo(100,100);
42 eventSender.mouseDown();
43 eventSender.mouseMoveTo(110,100);
44 eventSender.mouseUp();
45 eventSender.mouseMoveTo(20,20);
47 plg.eventLoggingEnabled = false; // stop logging so our output doesn't bleed into the next test
50 window.addEventListener('load', runTest, false);
51 </script>
52 <body>
53 <div class="fixed">
54 <embed name="plg" type="application/x-webkit-test-netscape" windowedPlugin="false" width=100 height=100></embed>
55 </div>
57 <p>Tests for widget positions being correctly updated after scrolling. <a href="rdar://problem/7559069">rdar://problem/7559069</a></p>
58 </body>
59 </html>