| 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 style="zoom:2;"> | |
| 11 <p>The font size in the popup should be same as the font size of the SELECT elem
ent except the third OPTION.</p> | |
| 12 <select id="menu"> | |
| 13 <option>foo</option> | |
| 14 <option selected>bar</option> | |
| 15 <option hidden>qux</option> | |
| 16 <option style="zoom:1.5;">baz</option> | |
| 17 <optgroup label="Group"> | |
| 18 <option>foo</option> | |
| 19 <option>bar</option> | |
| 20 </optgroup> | |
| 21 </select> | |
| 22 <p id="description" style="opacity: 0"></p> | |
| 23 <div id="console" style="opacity: 0"></div> | |
| 24 <script> | |
| 25 openPicker(menu, finishJSTest, function () { | |
| 26 testFailed('picker didn\'t open') | |
| 27 finishJSTest(); | |
| 28 }); | |
| 29 </script> | |
| 30 </body> | |
| 31 </html> | |
| OLD | NEW |