Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select-popup/popup-menu-position.html

Issue 1591613002: Move tests about 'New SELECT Popup' to fast/forms/select-popup, and disable them on OSX and Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698