Bug 4393 - REGRESSION: Unconfirmed text ignored in input type=text
Summary: REGRESSION: Unconfirmed text ignored in input type=text
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Major
Assignee: Darin Adler
URL: http://www.google.com
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-11 11:02 PDT by Alexey Proskuryakov
Modified: 2018-11-10 23:18 PST (History)
1 user (show)

See Also:


Attachments
test case (709 bytes, text/html)
2005-08-11 11:12 PDT, Alexey Proskuryakov
no flags Details
fix that uses the same method we used a while back to fix <textarea> (2.31 KB, patch)
2005-09-04 14:45 PDT, Darin Adler
sullivan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2005-08-11 11:02:51 PDT
If a form field contains unconfirmed inline input, its contents is ignored.

Steps to reproduce:
1. Open the attached file (inputtext.html) in Safari
2. With any input method that uses inline input (such as Kotoeri Hiragana), type something tinto the 
input field
3. Click the "Start Search" button

Results: An alert "Search field appears empty".

Alternatively: try a Google search (from www.google.com, not the Google bar) without confirming the 
inline input

Regression: was OK in WebKit/412 (OS X 10.4.2)

Discussion: Necessity to manually confirm all inline input sessions is a major hurdle for people using 
inline input.
Comment 1 Alexey Proskuryakov 2005-08-11 11:12:23 PDT
Created attachment 3345 [details]
test case
Comment 2 Alexey Proskuryakov 2005-09-04 08:10:27 PDT
Still present in Safari 2.0.1 (412.5) with ToT WebKit.
Comment 3 Darin Adler 2005-09-04 13:35:26 PDT
This sounds a lot like <rdar://problem/4094066> REGRESSION (1.2.5-1.3): unconfirmed inline input is 
ignored in <textarea>, lost when form is submitted, which I fixed a while back.
Comment 4 Darin Adler 2005-09-04 14:44:44 PDT
I've got a fix.
Comment 5 Darin Adler 2005-09-04 14:45:17 PDT
Created attachment 3764 [details]
fix that uses the same method we used a while back to fix <textarea>