Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / vertical-scrollbar-shrink-container-width.html
blob9b287d7e0ea3b8fff3cd9a9a9bc3cf1fd2b79cd5
1 <!DOCTYPE html>
2 <p>Test decreasing 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:700px;">
5 <div style="width:50%; height:400px; overflow-y:scroll;"></div>
6 </div>
7 <script src="../../resources/run-after-layout-and-paint.js"></script>
8 <script>
9 function changeSize() {
10 document.getElementById('target').style.width = '300px';
12 runAfterLayoutAndPaint(changeSize, true);
13 </script>