summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/input-type-text-unconfirmed-inline-input.html
blob: 857a63e8ab731d6bb64c4e82b1cb795006823ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>Unconfirmed inline input in <input type=text></title></head>

<script>

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

</script>

<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>

</body></html>