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

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

Issue 2606853002: SELECT popup: Don't use non-100% zoom level in popup. (Closed)
Patch Set: . Created 3 years, 12 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> 4 <script>
5 window.enablePixelTesting = true; 5 window.enablePixelTesting = true;
6 </script> 6 </script>
7 <script src="../../../resources/js-test.js"></script> 7 <script src="../../../resources/js-test.js"></script>
8 <script src="../resources/picker-common.js"></script> 8 <script src="../resources/picker-common.js"></script>
9 </head> 9 </head>
10 <body style="zoom:0.9;"> 10 <body style="zoom:1.1;">
11 <p>The bottom border of the popup should be visible in 90% zoom level.</p> 11 <p>There is no whitespace at the bottom of the popup in 110% zoom level.</p>
12 <!-- TOOD(tkent): The pixel result on Linux has unexepcted scroll bar. We 12 <!-- TOOD(tkent): The pixel result on Linux has unexepcted scroll bar. We
13 -- should understand the cause. The scrollbar doesn't appear on content_shell 13 -- should understand the cause. The scrollbar doesn't appear on content_shell
14 -- and chrome. So, it's not a serious issue. --> 14 -- and chrome. So, it's not a serious issue. -->
15 <select id="menu"> 15 <select id="menu" style="font-size: 12px; font-family: 'Segoe UI', Tahoma, -webk it-sans-serif; width: 145.455px;">
16 <option>foo</option> 16 <option>25%</option>
17 <option selected>bar</option> 17 <option>33%</option>
18 <option hidden>qux</option> 18 <option>50%</option>
19 <option style="zoom:1.5;">baz</option> 19 <option>67%</option>
20 <optgroup label="Group"> 20 <option>75%</option>
21 <option>foo</option> 21 <option>90%</option>
22 <option>bar</option> 22 <option>100%</option>
23 </optgroup> 23 <option>110%</option>
24 <option>125%</option>
25 <option>150%</option>
26 <option>175%</option>
27 <option>200%</option>
28 <option>250%</option>
29 <option>300%</option>
30 <option>400%</option>
31 <option>500%</option>
24 </select> 32 </select>
25 <p id="description" style="opacity: 0"></p> 33 <p id="description" style="opacity: 0"></p>
26 <div id="console" style="opacity: 0"></div> 34 <div id="console" style="opacity: 0"></div>
27 <script> 35 <script>
28 openPicker(menu, finishJSTest, function () { 36 openPicker(menu, finishJSTest, function () {
29 testFailed('picker didn\'t open') 37 testFailed('picker didn\'t open')
30 finishJSTest(); 38 finishJSTest();
31 }); 39 });
32 </script> 40 </script>
33 </body> 41 </body>
34 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698