Bug 136827

Summary: Spaces in contenteditable field with text-align: spaces on right don't appear until a non-space character is typed
Product: WebKit Reporter: Max Vujovic <mvujovic>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, bfulgham, enrica, mitz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jsfiddle.net/qq60f3rg/

Description Max Vujovic 2014-09-15 11:20:48 PDT
Filing this for a colleague. Repros in nightly.

Details in this example:
http://jsfiddle.net/qq60f3rg/

This works correctly in Chrome.
Comment 1 Radar WebKit Bug Importer 2015-09-15 13:23:32 PDT
<rdar://problem/22707570>
Comment 2 mitz 2015-09-15 13:34:17 PDT
The current behavior is compatible with the Cocoa text system (you can use the TextEdit app on OS X to see this).
Comment 3 Brent Fulgham 2015-11-09 15:21:45 PST
The current behavior on iOS and OS X are by design to be consistent with our other text input systems. If you are encountering this problem on Gtk or another port, and this violates the expected platform behavior, please re-open the bug with relevant comments.