Summary: | REGRESSION (WebKit2): space space to insert period doesn't work in web forms | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Enrica Casucci <enrica> | ||||||
Component: | WebKit2 | Assignee: | Enrica Casucci <enrica> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | Keywords: | InRadar | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | iPhone / iPad | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Enrica Casucci
2014-05-30 16:08:02 PDT
Created attachment 232308 [details]
Patch
I've fixed the EWS failures. Created attachment 232310 [details]
Patch that fixes EWS
Comment on attachment 232310 [details] Patch that fixes EWS View in context: https://bugs.webkit.org/attachment.cgi?id=232310&action=review > Source/WebCore/editing/VisibleUnits.cpp:1819 > +// The elements in the returned vector are: > +// 0 - the character after the given position (if it exists) > +// 1 - the character before the given position (if it exists) > +// 2 - the character before the position prior to the given position (if it exists). Let's make the return value a struct. That way you can name all the values, which is gonna be easier to understand at the call sites. Landed the change that addresses Ben's comments. Committed revision 169500. Comment on attachment 232310 [details] Patch that fixes EWS View in context: https://bugs.webkit.org/attachment.cgi?id=232310&action=review > Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:2488 > + const UChar noBreakSpace = 0x00A0; CharacterNames.h already has this constant. Can’t we include that instead of adding a new declaration? Removed unwanted changes. Committed revision 169543 |