8 background-color: green;
14 <script src=
"../../../resources/check-layout.js"></script>
18 var test
= document
.getElementById('test');
19 document
.body
.offsetTop
;
20 test
.style
['bottom'] = '50%';
21 document
.body
.offsetTop
;
22 test
.style
['bottom'] = 'auto';
23 window
.checkLayout("#test");
25 window
.onload
= runTest
;
27 Tests positioned movement layout when its height is changed by top/bottom changing from auto to fixed and back again.
28 <div id=
"test" data-expected-height=
0></div>