Copying rich text from Firefox does not capture styling from style sheet
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Tracking
()
People
(Reporter: yves, Unassigned)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
-
Create an html file with an internal css style sheet
-
browse to it with Firefox
-
select the content
-
In Thunderbird mail create an html email (shift + click on "write")
-
paste the content
Actual results:
The rich content is displayed in the email but without the styling.
Expected results:
The content should be displayed with the styling from the original html file, and how it was rendered in Firefox.
Note 1: when doing the same with Chromium, the styling is preserved when you paste in Thunderbird
Note 2: if you paste the rich content both from Firefox and Chromium in Thunderbird, then "Save As" "File", you can see that in the content from Chromium, you can see that the style was added inline in the table, but this does not happen for the content from Firefox.
Reporter | ||
Comment 1•2 years ago
|
||
Reporter | ||
Comment 2•2 years ago
|
||
Reporter | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Dupe of bug 1646515?
Reporter | ||
Comment 6•2 years ago
|
||
Yes, looks like it's pointing to the same root issue.
I can add my files and explanations there too, they might be a bit easier to test than the one listed there.
Description
•