Open Bug 1648765 Opened 4 years ago Updated 4 years ago

Copy-pasting `<b>` with inner `<div>` loses `<b>` when pasting to `contentEditable` `<div>`

Categories

(Core :: DOM: Serializers, defect)

defect

Tracking

()

People

(Reporter: mbrodesser-Igalia, Unassigned)

References

Details

STR:

1) Open data:text/html,<b>o|uter<div>inn|er</div></b>, select the marked text and copy it to the clipboard.
2) Open data:text/html,<div contentEditable=true>X</div> and paste it in the div.

Expected:
the text is still bold.

Actual:
text text isn't bold anymore.

Works in Chrome.

See Also: → 1489943
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.