Closed Bug 1585696 Opened 5 years ago Closed 5 years ago

copy paste of CSS "white-space: pre-line;" content should not preserve whitespace at the beginning of each line

Categories

(Core :: DOM: Selection, defect)

69 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1535849

People

(Reporter: yinyue200, Unassigned)

Details

Attachments

(1 file)

Attached file test.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

Steps to reproduce:

1.open the test.html
2.ctrl+a and ctrl+c
3.open a notepad and ctrl+v

Actual results:

 11111

222
22

22222

Expected results:

11111
222
22

22222

Actual results:

(five spaces)11111
(three spaces)222
22

22222

Expected results:

11111
222
22

22222

Summary: copy paste of CSS "white-space: pre;" content should not preserve whitespace at the beginning of each line → copy paste of CSS "white-space: pre-line;" content should not preserve whitespace at the beginning of each line
Component: Untriaged → Serializers
Product: Firefox → Core
Component: Serializers → Selection
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: