Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioned-movement-assert.html
blobd46194ffd620bc90ec834d6f29774dc1f725314b
1 <!doctype html>
2 <style>
3 #container {
4 display: inline;
7 .target {
8 position: relative;
9 float: left;
10 top: 10px;
11 left: 10px;
14 .target:after {
15 position: absolute;
16 content: 'foo';
18 </style>
19 <p>crbug.com/454824: Don't mark ancestors for layout during positioned movement layout. This test should not assert. </p>
20 <div id="container">
21 <div id="target1" class="target"></div>
22 </div>
23 <script>
24 if (window.testRunner)
25 testRunner.dumpAsText();
26 document.body.offsetTop;
27 var div = document.querySelector('#target1');
28 div.style.left = '100px';
29 div.style.top = '100px';
30 </script>