Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / positioned-layout-in-block-flow-when-margin-changes-3.html
blob8afdb818fce655e2b7d7c3aba68fc6fba472f849
1 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0px;
6 #first {
7 height:100px;
9 #next {
10 position:absolute;
12 </style>
13 <script src="../../../resources/check-layout.js"></script>
14 <div id="container">
15 <div id="first">a</div>
16 <div id="next" data-total-y=200>crbug.com/501353: Tests positioned movement layout when margins change.</div>
17 </div>
18 <div id="test-output"></div>
19 <script>
20 document.body.offsetTop;
21 container = document.getElementById("container");
22 container.style['margin-top'] = '100px';
23 window.checkLayout("#next", document.getElementById("test-output"));
24 </script>