Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / positioned-layout-in-line.html
bloba8d075c1b8f384212ee2d2dab685a7e129fa7fe9
1 <!DOCTYPE HTML>
2 <style>
3 #container {
4 position: relative;
6 .img {
7 position: absolute;
8 background-color: green;
9 height: 10px;
10 width: 10px;
11 top: 0;
13 </style>
14 <div id="container">
15 <input type="text" id="leading"></input>
16 <input type="text"></input>
17 <img class="img" id="img">
18 </div>
19 crbug.com/498290: Tests positioned movement layout when it has a non-static block position and sits in a line. The green image should be beside the input box.
20 <script>
21 document.body.offsetTop;
22 leading = document.getElementById("leading");
23 leading.setAttribute('type', 'hidden');
24 document.body.offsetTop;
25 </script>