Open Bug 1042630 Opened 11 years ago Updated 3 years ago

Triple-clicking <li> element adds stray whitespace iff exactly one <li> inside the list

Categories

(Core :: DOM: Selection, defect)

34 Branch
x86
Windows 8.1
defect

Tracking

()

People

(Reporter: emorley, Unassigned)

References

Details

Attachments

(1 file)

STR: 1) Find a bugzilla.mozilla.org bug that has just *one* person CCed 2) In the CC list triple click that person's email address 3) Paste somewhere Expected: The email address with no additional leading or trailing whitespace. eg: 'foo@bar.com' Actual: Both leading and trailing whitespace, eg: '\n foo@bar\n ' Strangely, this doesn't occur if there are multiple people CCed to the bug.
Attached file Testcase
This testcase shows: * whitespace being incorrectly added for single item lists * multi-item lists working as expected * slightly less whitespace being added if a single item list, and the markup has been condensed onto one line. (The newlines are no longer added, but still a 4 space leading whitespace).
See Also: → 819266
Tested using: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 Built from https://hg.mozilla.org/mozilla-central/rev/63f44b4968c2
See Also: → 1284473
Reproducible with latest Nightly: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Built from https://hg.mozilla.org/mozilla-central/rev/2c000486eac466da6623e4d7f7f1fd4e318f60e8
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: