| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="../resources/picker-common.js"></script> | 5 <script src="../resources/picker-common.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <style> | 8 <style> |
| 9 select { | 9 select { |
| 10 position: absolute; | 10 position: absolute; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 function injectFakeItemSize(width, height, callback) { | 174 function injectFakeItemSize(width, height, callback) { |
| 175 var style = popupWindow.document.createElement('style'); | 175 var style = popupWindow.document.createElement('style'); |
| 176 style.innerHTML = 'select { width: ' + width + 'px !important; } option { he
ight: ' + height + 'px; }'; | 176 style.innerHTML = 'select { width: ' + width + 'px !important; } option { he
ight: ' + height + 'px; }'; |
| 177 popupWindow.document.body.appendChild(style); | 177 popupWindow.document.body.appendChild(style); |
| 178 popupWindow.global.picker._fixWindowSize(); | 178 popupWindow.global.picker._fixWindowSize(); |
| 179 popupWindow.addEventListener('resize', callback, false); | 179 popupWindow.addEventListener('resize', callback, false); |
| 180 } | 180 } |
| 181 </script> | 181 </script> |
| 182 </body> | 182 </body> |
| 183 </html> | 183 </html> |
| OLD | NEW |