Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / geometry / geometry-map-scroll-during-layout-assertion.html
blob9e58b129ef64a87034970fc4594996710c0a1537
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #wpadminbar {
6 height: 28px;
7 position: fixed;
8 top: 0;
9 left: 0;
10 width: 100%;
11 min-width: 600px;
12 z-index: 99999;
13 background-color: gray;
16 #overflow {
17 overflow: scroll;
18 height: 300px;
21 #contents {
22 height: 500px;
23 background-color: green;
25 </style>
26 <script>
27 if (window.testRunner)
28 testRunner.dumpAsText();
30 function doTest()
32 document.getElementById('overflow').scrollTop = 200;
33 var contents = document.getElementById('contents');
34 contents.style.height = '200' + 'px';
36 window.addEventListener('load', doTest, false);
37 </script>
38 </head>
39 <body>
40 <p>This test should not hit an assertion in debug builds.</p>
41 <div id="wpadminbar" class="" role="navigation"></div>
42 <div id="overflow" style="width: 430px; margin-left: 100px; margin-top: 100px;">
43 <div id="contents">
44 </div>
45 </div>
47 </body>
48 </html>