summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/select-popup/popup-menu-appearance-single-option.html
blob: a396deccf1ae604fb57060a4d361b743c90f0a73 (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
<!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>
option.styled {
  font-style: italic;
  font-weight: bold;
  font-family: cursive;
  font-size: 24px;
  background-color: green;
  color: red;
}
</style>
<select id="menu">
  <option>foo</option>
</select>
<p id="description" style="opacity: 0"></p>
<div id="console" style="opacity: 0"></div>
<script>
openPicker(document.getElementById('menu'), finishJSTest, function () {
    testFailed('picker didn\'t open')
    finishJSTest();
});
</script>
</body>
</html>