Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / jquery / resources / test / data / offset / scroll.html
bloba0d1f4d1827e5f5b1b44010641772528430990e6
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6 <title>scroll</title>
7 <style type="text/css" media="screen">
8 body { margin: 1px; padding: 5px; }
9 div.scroll { position: relative; margin: 1px; border: 2px solid #000; padding: 5px; width: 100px; height: 100px; background: #fff; overflow: auto; }
10 #scroll-1 { top: 0; left: 0; }
11 #scroll-1-1 { top: 1px; left: 1px; }
12 #scroll-1-1-1 { top: 1px; left: 1px; }
13 #forceScroll { width: 5000px; height: 5000px; }
14 #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
15 </style>
16 <script src="../../../src/core.js"></script>
17 <script src="../../../src/deferred.js"></script>
18 <script src="../../../src/support.js"></script>
19 <script src="../../../src/sizzle/sizzle.js"></script>
20 <script src="../../../src/sizzle-jquery.js"></script>
21 <script src="../../../src/traversing.js"></script>
22 <script src="../../../src/data.js"></script>
23 <script src="../../../src/event.js"></script>
24 <script src="../../../src/css.js"></script>
25 <script src="../../../src/offset.js"></script>
26 <script type="text/javascript" charset="utf-8">
27 jQuery(function($) {
28 window.scrollTo(1000,1000);
29 $('#scroll-1')[0].scrollLeft = 5;
30 $('#scroll-1')[0].scrollTop = 5;
31 $('.scroll').click(function() {
32 $('#marker').css( $(this).offset() );
33 return false;
34 });
35 });
36 </script>
37 </head>
38 <body>
39 <div id="scroll-1" class="scroll">
40 <div id="scroll-1-1" class="scroll">
41 <div id="scroll-1-1-1" class="scroll"></div>
42 </div>
43 </div>
44 <div id="forceScroll"></div>
45 <div id="marker"></div>
46 <p class="instructions">Click the white box to move the marker to it.</p>
47 </body>
48 </html>