Open Bug 1498271 Opened Last year Updated Last year

Pasting long lines into a pre-wrap contenteditable adds extra new lines

Categories

(Core :: DOM: Editor, defect, P3)

60 Branch
Unspecified
All
defect

Tracking

()

Tracking Status
firefox-esr60 --- wontfix
firefox62 --- wontfix
firefox63 --- wontfix
firefox64 --- fix-optional

People

(Reporter: joerg, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached file broken_newlines.html
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

See the attached test case. Copy the first paragraph and paste it after clicking in the Test:... line.


Actual results:

The inserted text gets line wrapped using physical new lines (\n). The exact line lengths seems to vary, but I can't find any relationship to e.g. max-length CSS attributes.


Expected results:

No such line wrapping should happen.
Component: Untriaged → Editor
Product: Firefox → Core
I can reproduce the problem on Nightly64.0a1 win10.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
I can add that it fails with 48 already, so it is certainly a long standing issue.
old regression....
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.