Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / control-clip-overflow.html
blob90beb44c0ae0dd6f489c40a15766f7f35f7df8d7
1 <style>
2 div.test-area { width: 100px; height: 50px; overflow: auto; margin-bottom: 20px; }
3 </style>
4 <p>
5 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=17033">http://bugs.webkit.org/show_bug.cgi?id=17033</a>
6 REGRESSION: Really long &lt;option> causes unnecessary page scroll bars to accommodate content</i>.
7 </p>
8 <p>
9 There should not be scroll bars below the popup.
10 There should be scrollbars below the button (see crbug.com/465429).
11 </p>
12 <div class="test-area">
13 <select style="width: 80px">
14 <option>
15 Lorem ipsum dolor sit amet
16 </option>
17 </select>
18 </div>
19 <div class="test-area">
20 <button style="width: 80px; white-space: nowrap;">
21 Lorem ipsum dolor sit amet
22 </button>
23 </div>