summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/positioning/pref-width-change.html
blob: 7f1102bda31a1ffc17c4a1b8f8858b79a8777e66 (plain)
1
2
3
4
5
6
7
<div style="position: relative; width: 200px; border:solid; height: 20px">
    <div id="inner" style="right: 0; position: absolute;">text</div>
</div>
<script>
    document.body.offsetTop;
    inner.innerText="longertext";
</script>