Bug 136827 - Spaces in contenteditable field with text-align: spaces on right don't appear until a non-space character is typed
Summary: Spaces in contenteditable field with text-align: spaces on right don't appear...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/qq60f3rg/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-09-15 11:20 PDT by Max Vujovic
Modified: 2015-11-09 15:21 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.