31 <script src=
"../../resources/check-layout.js"></script>
33 <div>crbug.com/
468521: When a positioned container changes height and has percent height descedants ensure its children get a layout.
</div>
34 <div id=
"console"></div>
35 <div class=
"container">
36 <div class=
"a" data-expected-height=
350></div>
45 if (window
.testRunner
)
46 testRunner
.waitUntilDone();
48 document
.querySelector('.container').style
.bottom
= '150px';
49 checkLayout('.a', document
.getElementById('console'));
50 if (window
.testRunner
)
51 testRunner
.notifyDone();
53 window
.onload=function(){
54 setTimeout(function() { runTest(); }, 0);