| Index: LayoutTests/fast/forms/select/popup-menu-appearance-fractional-width.html
|
| diff --git a/LayoutTests/fast/forms/select/popup-menu-appearance-many.html b/LayoutTests/fast/forms/select/popup-menu-appearance-fractional-width.html
|
| similarity index 59%
|
| copy from LayoutTests/fast/forms/select/popup-menu-appearance-many.html
|
| copy to LayoutTests/fast/forms/select/popup-menu-appearance-fractional-width.html
|
| index 68424caa8fd888138e4a9c6f2ce691706a4bce27..918a218117e76f3b3a11293021efd11098b041b8 100644
|
| --- a/LayoutTests/fast/forms/select/popup-menu-appearance-many.html
|
| +++ b/LayoutTests/fast/forms/select/popup-menu-appearance-fractional-width.html
|
| @@ -8,18 +8,27 @@ window.enablePixelTesting = true;
|
| <script src="../resources/picker-common.js"></script>
|
| </head>
|
| <body>
|
| +<style>
|
| +select {
|
| + -webkit-appearance: none;
|
| + font-size: 13px;
|
| + padding-right: 1.5em;
|
| + height: 25px;
|
| + font-family: 'Ahem';
|
| +}
|
| +</style>
|
| <select id="menu">
|
| +<option>foo</option>
|
| +<option>foo</option>
|
| +<option>foo</option>
|
| +<option>foo</option>
|
| +<option>foo</option>
|
| </select>
|
| <p id="description" style="opacity: 0"></p>
|
| <div id="console" style="opacity: 0"></div>
|
| <script>
|
| +description('Test for crbug.com/470505. Pass if there is no vertical scroll bar in the popup.');
|
| var menu = document.getElementById('menu');
|
| -for (var i = 0; i < 200; i++) {
|
| - var option = new Option('item ' + i);
|
| - if (i === 100)
|
| - option.selected = true;
|
| - menu.appendChild(option);
|
| -}
|
| openPicker(menu, finishJSTest, function () {
|
| testFailed('picker didn\'t open')
|
| finishJSTest();
|
|
|