2 <p>Test increasing the width of the containing block of a scrollable container with percent width.
</p>
3 <p>One vertical scrollbar should be seen below.
</p>
4 <div id=
"target" style=
"width:300px;">
5 <div style=
"width:50%; height:400px; overflow-y:scroll;"></div>
7 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
9 function changeSize() {
10 document
.getElementById('target').style
.width
= '700px';
12 runAfterLayoutAndPaint(changeSize
, true);