Html程序  |  49行  |  1.11 KB

<html>
<head>
Select narrow width manual test.
</head>

<body>
See bug:<a href="https://bugs.webkit.org/show_bug.cgi?id=25904">25904</a>.
<p>
This test ensures that items in a select control can be selected. There
was a bug in Mac Chromium where select controls did not initialize their
widths properly, and while a click on the control would display the popup,
subsequent clicks on menu items were disregarded.
<p>
The bug was most easily reproduced with select controls containing many
(more than 20) items that had narrow widths.
<br>

<select id="selectId">
  <option>a</option>
  <option>b</option>
  <option>c</option>
  <option>d</option>
  <option>e</option>
  <option>f</option>
  <option>g</option>
  <option>h</option>
  <option>i</option>
  <option>j</option>
  <option>k</option>
  <option>l</option>
  <option>m</option>
  <option>n</option>
  <option>o</option>
  <option>p</option>
  <option>q</option>
  <option>r</option>
  <option>s</option>
  <option>t</option>
  <option>u</option>
  <option>v</option>
  <option>w</option>
  <option>x</option>
  <option>y</option>
  <option>z</option>
</select>

</body>
</html>