http://www.w3.org/Bugs/Public/show_bug.cgi?id=14119
Summary: Strip collapsed whitespace on insertText
Product: WebAppsWG
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HTML Editing APIs
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected], [email protected]
Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=681626
In a case like "foo[] ", if you insert a space, it becomes "foo [] ".
Thus the extra space is no longer collapsed. It should be "foo []", same
as if you started with "foo[]". Alternatively, it could be "foo [] ",
with the trailing space still present but ignored. But it seems nicer to take
the opportunity to clean up.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.