Pasting text from websites does not retain original font
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Tracking
()
People
(Reporter: gerard, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Steps to reproduce:
Copied text from various websites into Word using Firefox on Windows.
Example: The heading of the Wikipedia article on IEFBR14.
Actual results:
The text is pasted as Times New Roman in all cases, regardless of the font used on the web page. The font size does vary somewhat in proportion but again does not match what is used on the source page.
Example: The heading IEFBR14 gets pasted as TNR 24.
Expected results:
It should be pasted as Georgia 21.5. I know this because I've tried it in 3 other browsers (Chrome, Edge, and Opera). Firefox seems to be the only browser that routinely pastes any copied web page text as TNR instead of the actual font used on the source web page.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
This doesn't seem like a Layout issue; more likely DOM-related, to do with the representation of the content that gets put into the system clipboard.
I would definitely agree that the issue occurs in the process of copying, though not made apparent till it's actually pasted.
Updated•1 year ago
|
Description
•