blob: d91e62746c0ac458ae64a05077b02dd4e3c02c2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<!DOCTYPE html>
<html>
<head>
<script>
window.enablePixelTesting = true;
</script>
<script src="../../../resources/js-test.js"></script>
<script src="../resources/picker-common.js"></script>
</head>
<body style="zoom:0.9;">
<p>The bottom border of the popup should be visible in 90% zoom level.</p>
<!-- TOOD(tkent): The pixel result on Linux has unexepcted scroll bar. We
-- should understand the cause. The scrollbar doesn't appear on content_shell
-- and chrome. So, it's not a serious issue. -->
<select id="menu">
<option>foo</option>
<option selected>bar</option>
<option hidden>qux</option>
<option style="zoom:1.5;">baz</option>
<optgroup label="Group">
<option>foo</option>
<option>bar</option>
</optgroup>
</select>
<p id="description" style="opacity: 0"></p>
<div id="console" style="opacity: 0"></div>
<script>
openPicker(menu, finishJSTest, function () {
testFailed('picker didn\'t open')
finishJSTest();
});
</script>
</body>
</html>
|