Closed
Bug 1664387
Opened 4 years ago
Closed 2 years ago
Transparency lost when pasting images into firefox
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 460969
People
(Reporter: 12Me21.MC, Unassigned)
Details
Attachments
(1 file)
959 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
When detecting pasted images with the paste
event's clipboardData, transparency data is lost
See paste.html for an example. (Try copying the example image and pasting it on the page, the background should turn black)
Tested on windows 10.
I suspect it's caused by the way windows stores image data in the clipboard
Actual results:
Transparent pixels become opaque/black
Expected results:
Transparency is preserved
Updated•4 years ago
|
Component: Untriaged → DOM: Events
Product: Firefox → Core
Mentioned here: https://stackoverflow.com/questions/43618372/alpha-becomes-black-when-coming-from-clipboard-on-mozilla-firefox-and-ms-edgeb (2017)
Works in chrome but not firefox or edge
Works for me on Linux.
Component: DOM: Events → Widget: Win32
Updated•2 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 460969
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•