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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 19 11:43:15 PDT 2011


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


Aryeh Gregor <ayg at aryeh.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ayg at aryeh.name




--- Comment #4 from Aryeh Gregor <ayg at aryeh.name>  2011-08-19 11:43:15 PST ---
The problem here is that nbsp is used in editable regions to ensure that adjacent spaces don't collapse.  To make this work sanely, you have to interchange nbsp and regular space sometimes to avoid multiple nbsps in a row when the user typed regular spaces.  This was discussed on whatwg:

http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-June/032187.html

Relevant reading in my spec as of now includes the note at the beginning of <http://aryeh.name/spec/editing/editing.html#canonical-space-sequences>, and the comment (expand using button on right) at the beginning of <http://aryeh.name/spec/editing/editing.html#the-inserttext-command>.  It's a huge headache.

I'm thinking it would be feasible to respect nbsp vs. regular space distinctions if the element has white-space: pre-wrap specified.  Then none of the magical overuse of nbsp is needed, so they can be treated normally.

-- 
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