VERIFIED FIXED 8105
REGRESSION (NativeTextField): Option-delete deletes one space before the deleted word
https://bugs.webkit.org/show_bug.cgi?id=8105
Summary REGRESSION (NativeTextField): Option-delete deletes one space before the dele...
mitz
Reported 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).
Attachments
patch, including change log (1.99 KB, patch)
2006-03-31 23:49 PST, Darin Adler
mjs: review+
patch, including detailed change log and a layout test (6.51 KB, patch)
2006-04-01 01:13 PST, Darin Adler
no flags
Darin Adler
Comment 1 2006-03-31 23:13:05 PST
I've got a fix for this one.
Darin Adler
Comment 2 2006-03-31 23:18:13 PST
Same underlying cause as bug 8063. *** This bug has been marked as a duplicate of 8063 ***
Darin Adler
Comment 3 2006-03-31 23:25:04 PST
I was wrong, not a duplicate.
Darin Adler
Comment 4 2006-03-31 23:41:50 PST
Same is true of any contenteditable, so this is not specific to the text fields.
Darin Adler
Comment 5 2006-03-31 23:43:30 PST
The problem is simply that smartDeleteOK: gets passed YES and should get passed NO.
Darin Adler
Comment 6 2006-03-31 23:49:19 PST
Created attachment 7432 [details] patch, including change log
Darin Adler
Comment 7 2006-04-01 01:13:47 PST
Created attachment 7436 [details] patch, including detailed change log and a layout test
mitz
Comment 8 2006-04-04 01:51:37 PDT
Verified in r13675 nightly.
Note You need to log in before you can comment on or make changes to this bug.