Pressing the forward delete key in a text field does nothing on iOS. This is because in both Webkit Legacy and Modern WebKit we look expect the character string of the WebEvent for the forward delete key to be the character 0xF728. It isn’t. Once we fix that we should also ensure that we only perform a forward deletion when inside an editable field as it is not meaningful to perform a forward deletion when not focused in a text field.
Here is where we expect 0xF728 for the forward delete key in Modern WebKit: <https://trac.webkit.org/browser/webkit/trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm?rev=237053#L3831>.
<rdar://problem/45262367>
*** Bug 191088 has been marked as a duplicate of this bug. ***
You can observe the fact that forward delete does nothing by performing the following: 1. Visit <data:text/html,<textarea></textarea>>. 2. Focus the text area and type "ha". 3. Press the left arrow key. 4. Press the forward delete key. Then the text area should have the contents "h". But it has the contents "ha"; => nothing happened.
*** Bug 191087 has been marked as a duplicate of this bug. ***
Created attachment 354100 [details] Patch and layout test
Comment on attachment 354100 [details] Patch and layout test Clearing flags on attachment: 354100 Committed r238033: <https://trac.webkit.org/changeset/238033>
All reviewed patches have been landed. Closing bug.