Copying HTML to the clipboard doesn't copy background colour for a single element.

Fixed Issue #10656834

Details

Author
Sam M.
Created
Jan 25, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
  • Firefox
Found in build #
38.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Head to the following jsfiddle: https://jsfiddle.net/SamMiller/ubm10f69/

Double click on "PURPLE", hit ctrl + c to copy the selection to the clipboard, now paste it into the HTML checker content editable box. The purple background colour isn’t copied. I would expect it to be copied to the clipboard and allow the user to paste with the background colour still intact.

Now make a drag selection from the start of “PURPLE” to the end of “BLUE” so that both “PURPLE” and “BLUE” are selected. Depending on exactly where the drag started from, either both the purple background and the blue background are copied to the clipboard and successfully pasted into the HTML checker box, or just the blue background is copied.

IE11, Firefox, and Edge all have this issue.
Chrome and Safari copy the background colours correctly.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Grisha L.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge and will be available in an upcoming Insider Preview build.

      Best Wishes,
      The MS Edge Team

    • Thanks for looking at this. This bug doesn’t seem to be fixed in the version of Edge I am using. Could you confirm which version of Edge this has been fixed in. The one I am using is:

      Microsoft Edge 40.15063.0.0
      Microsoft EdgeHTML 15.15063

      Thanks.

    • Changed Status from “Fixed”

    • Reopening issue.

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Status to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 16257 and is available in our latest Insider Preview build in the Fast ring.

      Best Wishes,

      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in