jmalonzo@webkit.org | 0471325 | 2009-07-18 03:12:29 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 | <html> |
| 4 | <head> |
| 5 | </head> |
| 6 | <body onload="document.getElementById('selectId').focus()"> |
| 7 | <p><b>BUG ID:<a href="https://bugs.webkit.org/show_bug.cgi?id=18363">18363</a>.</p> |
| 8 | <p id="description"> |
eric@webkit.org | 35f825b | 2009-09-04 08:40:37 +0000 | [diff] [blame] | 9 | This test ensures that pressing spacebar on Mac, Gtk and Chromium ports or pressing |
| 10 | return in Gtk and Chromium ports will popup the select control when focused. |
jmalonzo@webkit.org | 0471325 | 2009-07-18 03:12:29 +0000 | [diff] [blame] | 11 | </p> |
| 12 | |
| 13 | <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> <br> |
| 14 | Press <em>spacebar</em> or the <em>return</em> key (Gtk only). |
| 15 | |
| 16 | <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> |
| 17 | Select pops up the menu list</p> |
| 18 | |
| 19 | <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> |
| 20 | Select does not popup a menu list - nothing happens.</p> |
| 21 | |
| 22 | |
| 23 | <select id="selectId"> |
| 24 | <option>Select</option> |
| 25 | <option>Item 1</option> |
| 26 | </select> |
| 27 | |
| 28 | </body> |
| 29 | </html> |