29 <script src=
"../../../resources/check-layout.js"></script>
31 <p>An abspos element should move with the edge of its inline relpos container when the latter changes width.
</p>
34 <span id=
"container"><span id=
"text">Hello
</span><div id=
"abs" class=
"inline-pos right" data-total-x=
118></div></span>
37 <span id=
"container"><span id=
"inline-text">Hello
</span><div id=
"abs" class=
"inline inline-pos right" data-total-x=
118></div></span>
42 <span id=
"container"><span id=
"text-rtl">Hello
</span><div id=
"abs" class=
"inline-pos right" data-total-x=
118></div></span>
45 <span id=
"container"><span id=
"inline-text-rtl">Hello
</span><div id=
"abs" class=
"inline inline-pos right" data-total-x=
118></div></span>
49 document
.body
.offsetTop
;
50 document
.getElementById('text').innerHTML
= 'hello world';
51 document
.getElementById('text-rtl').innerHTML
= 'hello world';
52 document
.getElementById('inline-text').innerHTML
= 'hello world';
53 document
.getElementById('inline-text-rtl').innerHTML
= 'hello world';