Bug 23046
Summary: | RTL - forward delete key removes Hebrew letters and diacritical marks together. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeremy Moskovich <playmobil> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | ap, hbono, jshin, mitz, progame+wk, xji |
Priority: | P2 | Keywords: | PlatformOnly |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP |
Jeremy Moskovich
Chrome bug: http://code.google.com/p/chromium/issues/detail?id=5930
* Type (u05D0 + u05B1) into an rtl-aligned text input field in WebKit* e.g. the search field at http://google.co.il.
* Move the cursor to the start (right side) of the text.
* Press the delete key.
(*) doesn't work in ltr-aligned fields due to another issue: https://bugs.webkit.org/show_bug.cgi?id=23045
Expected Results:
* Only the letter Aleph should be deleted, the diacritical mark should remain.
What happens:
* The diacritical mark and the letter are deleted as one unit.
Both IE7 & FF3 behave correctly here, deleting only the letter and leaving
the diacritical mark alone.
http://trac.webkit.org/changeset/39169 fixed the same issue for the backspace key.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
The behavior as described is compatible with the Cocoa text system on Mac OS X. Perhaps this is a platform-specific bug, but then the OS field in this report is wrong.
Jeremy Moskovich
Makes sense, changing platform to Windows.
Jungshik Shin
(In reply to comment #1)
> The behavior as described is compatible with the Cocoa text system on Mac OS X.
> Perhaps this is a platform-specific bug, but then the OS field in this report
> is wrong.
Does it mean that on Mac OS X, ICU's character iterator is not used for this in Webkit? ICU's character iterator treats a sequence of 'base + (a) combining character(s)' as a unit and I thought that was to blame. (see also my comment at http://crbug.com/5930)
BTW, what does the Cocoa text system does for a Latin base letter + a diacritic mark and 'delete'?
mitz
(In reply to comment #3)
> BTW, what does the Cocoa text system does for a Latin base letter + a diacritic
> mark and 'delete'?
The letter and the diacritic are deleted together.
Yair Yogev
tagged in chromium as won't fix