darin | 3409aae | 2005-09-05 03:43:03 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <html> |
| 3 | <head><title>Unconfirmed inline input in <input type=text></title></head> |
| 4 | |
| 5 | <script> |
| 6 | |
| 7 | function dump(s) { |
| 8 | if (s == "") |
| 9 | alert("Field appears empty"); |
| 10 | else |
| 11 | alert("Field contents: " + s); |
| 12 | } |
| 13 | |
| 14 | </script> |
| 15 | |
| 16 | <p>Enter some text using inline input (e.g. Kotoeri Hiragana) and click the button without closing the input area.</p> |
| 17 | <p><input type=text id=input value="" size=57><input type=button value="test" onClick="dump(document.getElementById('input').value)"></div> |
| 18 | <p>The alert should show the inline input text, but without the bug fix it shows empty text.</p> |
| 19 | |
| 20 | </body></html> |