OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <p>Test decreasing the width of the containing block of a scrollable container w ith 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/display-then-call.js"></script> | |
8 <script> | |
9 function changeSize() { | |
10 document.getElementById('target').style.width = '300px'; | |
11 } | |
12 displayThenCall(changeSize); | |
13 </script> | |
OLD | NEW |