Closed
Bug 1552468
Opened 6 years ago
Closed 3 years ago
Copy pasting a `<p>` including a `-moz-user-select: none` styled element adds undesired line breaks
Categories
(Core :: DOM: Selection, defect, P2)
Core
DOM: Selection
Tracking
()
RESOLVED
DUPLICATE
of bug 1211737
People
(Reporter: mbrodesser, Unassigned)
Details
STR:
- Open
data:text/html,<p>x<span style="-moz-user-select: none">y</span>z</p>
. - Press CTRL+a to select all text.
- Press CTRL+c to copy and press CTRL+v to paste into some text editor.
Expected result:
"xz" is pasted.
Actual result:
"x
z" is pasted.
With Chrome (although with -webkit-user-select
instead of -moz-user-select
(data:text/html,<p>x<span style="-webkit-user-select: none">y</span>z</p>
) this works as expected.
Updated•6 years ago
|
Priority: -- → P2
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•