[Webkit-unassigned] [Bug 28333] copying text inside input element to content-editable region adds white-space: pre

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 14 22:12:20 PDT 2009


--- Comment #2 from Alexey Proskuryakov <ap at webkit.org>  2009-08-14 22:12:18 PDT ---
I do not know anything about this specifically, but without "white-space: pre",
multiple spaces would be contracted to one space. Just try "<p>l             
l</p>" in an HTML document.

Contenteditable inserts NBSPs to avoid this, but this trick cannot be used with
form elements. Perhaps it can be used when serializing content for pasteboard,
but to start considering this, it would help to know why the current behavior
is a problem.

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