Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / static-to-relative-with-absolute-child.html
blob0cbad748c3f49fc239c10f904e7366ca7d41b7df
1 <!DOCTYPE html>
2 <style>
3 #inner {
4 position: absolute
6 </style>
7 <p>You should see the a green 'PASS' below.</p>
8 <span id="outer">&nbsp;<br>PASS<span id="inner"></span></span>
9 <script>
10 window.onload = function() {
11 var style = document.getElementById("outer").style;
12 document.body.offsetTop;
13 style.position = "relative";
14 document.body.offsetTop;
15 style.color = "green";
17 </script>