Bug 8105 - REGRESSION (NativeTextField): Option-delete deletes one space before the deleted word
Summary: REGRESSION (NativeTextField): Option-delete deletes one space before the dele...
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Darin Adler
URL:
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2006-03-31 09:45 PST by mitz
Modified: 2006-04-04 01:51 PDT (History)
0 users

See Also:


Attachments
patch, including change log (1.99 KB, patch)
2006-03-31 23:49 PST, Darin Adler
mjs: review+
Details | Formatted Diff | Diff
patch, including detailed change log and a layout test (6.51 KB, patch)
2006-04-01 01:13 PST, Darin Adler
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-03-31 09:45:18 PST
Pressing Option-Delete in a new text fields deletes the word before the caret, then one additional space before that word. Old text field (and Mac OS X) behavior is to delete only the word and not touch the leading space(s).
Comment 1 Darin Adler 2006-03-31 23:13:05 PST
I've got a fix for this one.
Comment 2 Darin Adler 2006-03-31 23:18:13 PST
Same underlying cause as bug 8063.

*** This bug has been marked as a duplicate of 8063 ***
Comment 3 Darin Adler 2006-03-31 23:25:04 PST
I was wrong, not a duplicate.
Comment 4 Darin Adler 2006-03-31 23:41:50 PST
Same is true of any contenteditable, so this is not specific to the text fields.
Comment 5 Darin Adler 2006-03-31 23:43:30 PST
The problem is simply that smartDeleteOK: gets passed YES and should get passed NO.
Comment 6 Darin Adler 2006-03-31 23:49:19 PST
Created attachment 7432 [details]
patch, including change log
Comment 7 Darin Adler 2006-04-01 01:13:47 PST
Created attachment 7436 [details]
patch, including detailed change log and a layout test
Comment 8 mitz 2006-04-04 01:51:37 PDT
Verified in r13675 nightly.