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)
Tracking
()
NEW
People
(Reporter: emorley, Unassigned)
References
Details
Attachments
(1 file)
|
618 bytes,
text/html
|
Details |
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.
| Reporter | ||
Comment 1•11 years ago
|
||
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).
| Reporter | ||
Comment 2•11 years ago
|
||
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
| Reporter | ||
Comment 3•7 years ago
|
||
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
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•