If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

A user-select none adds spurious line breaks when copying text from a pre element

UNCONFIRMED
Unassigned

Status

()

Core
Serializers
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: xixixao, Unassigned)

Tracking

44 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20150929144111

Steps to reproduce:

Select content inside of a <pre> element which includes -moz-user-select:none elements.

Try at:
http://jsbin.com/domurahiwa/edit?html,output



Actual results:

For each block of these non-selectable elements a spurious new line is inserted into the copied text.


Expected results:

There should be only new lines from the original source inside of the <pre> element.
You need to log in before you can comment on or make changes to this bug.