| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script> | |
| 5 window.enablePixelTesting = true; | |
| 6 </script> | |
| 7 <script src="../../../resources/js-test.js"></script> | |
| 8 <script src="../resources/picker-common.js"></script> | |
| 9 </head> | |
| 10 <body> | |
| 11 <select id="menu" style="width: 10px; font-size: 300px;"> | |
| 12 <option>X</option> | |
| 13 <option>X</option> | |
| 14 <option>X</option> | |
| 15 <option>X</option> | |
| 16 <option>X</option> | |
| 17 </select> | |
| 18 <p id="description" style="opacity: 0"></p> | |
| 19 <div id="console" style="opacity: 0"></div> | |
| 20 <script> | |
| 21 description('Tests if width is increased for the scrollbar. PASS if the X is not
clipped.'); | |
| 22 var menu = document.getElementById('menu'); | |
| 23 openPicker(menu, finishJSTest, function () { | |
| 24 testFailed('picker didn\'t open') | |
| 25 finishJSTest(); | |
| 26 }); | |
| 27 </script> | |
| 28 </body> | |
| 29 </html> | |
| OLD | NEW |