[Webkit-unassigned] [Bug 12828] Typing Option-space should insert  

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 20 03:40:19 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=12828


Olivier <osweb at ithink.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |osweb at ithink.ch




--- Comment #5 from Olivier <osweb at ithink.ch>  2011-08-20 03:40:19 PST ---
(Background: I come from Bug 14779, which concerns Apple Mail and is where the issue is bothering me.) 

And what about (if the pre-wrap option turns out not to be practical) “cheating” by using another kind of space, either (a) to prevent collapsing of adjacent spaces or (b) when the user inserts an nbsp? The following characters seem good candidates as they don’t break or collapse in WebKit, apparently :

U+2008  PUNCTUATION SPACE
U+2009  THIN SPACE
U+2002  EN SPACE
U+2003  EM SPACE
U+2007  FIGURE SPACE
U+202F  NARROW NO-BREAK SPACE

Of course, those are non-ASCII characters*, but if the final output is HTML, then they get encoded as entities anyway, I guess, and it get converted to plain-text (still thinking of Apple Mail), they can be safely converted to (a) regular spaces or (b) nbsps depending on which of the above options was chosen. There already aren’t many people complaining about nbsps getting downgraded to regular spaces in their e-mails, I don’t think there will be many who will notice that their Punctuation Spaces are being downgraded to nbsps. :D

* <bait type="flame">But ASCII must die anyway.</bait>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list