input-type-text-unconfirmed-inline-input.html   [plain text]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head><title>Unconfirmed inline input in <input type=text></title></head>


function dump(s) {
    if (s == "")
        alert("Field appears empty");
        alert("Field contents: " + s);


<p>Enter some text using inline input (e.g. Kotoeri Hiragana) and click the button without closing the input area.</p>
<p><input type=text id=input value="" size=57><input type=button value="test" onClick="dump(document.getElementById('input').value)"></div>
<p>The alert should show the inline input text, but without the bug fix it shows empty text.</p>