Closed
Bug 40490
Opened 25 years ago
Closed 25 years ago
Trailing whitespace
Categories
(Core :: DOM: Selection, defect, P3)
Core
DOM: Selection
Tracking
()
People
(Reporter: BenB, Assigned: mjudge)
Details
Reproduce:
1. Type "bla1 bla2 bla3" in editor
2. Doubleclick on "bla2" (will select "bla2")
Actual result:
"bla2 " will be selected
Expected result:
"bla2" will be selected
Why this matters:
Apart from the fact, that the latter makes more sense to me and produces better
HTML source, the former also breaks the HTML->TXT converter for bold, strong,
italic etc.. I see no way to fix the converter.
Try this: Mark the selected text bold and do Debug|OutputText.
You'll see "bla1 *bla2 *bla3". This is wrong. It should be "bla1 *bla2* bla3".
The latter can be recognized by the TXT->HTML converter (try it in Mailnews) and
humans knowing this convention.
Reporter | ||
Comment 1•25 years ago
|
||
IMO, we can't ship with the converter producing such nonsense. We need to
fix either this bug or find a kludgy workaround in the converter.
Comment 2•25 years ago
|
||
Part of 16352. The jury is still out on whether the space will be selected or
not. Windows users expect it to be selected, Unix and Mac users expect it not
to be selected. We might have to make it prefable/look-and-feelable to satisfy
people on different platforms.
*** This bug has been marked as a duplicate of 16352 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•25 years ago
|
||
akk, if my description shows anything, than that this should *not* be a pref.
VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•