Copy Pasting HTML from part of the page to rich-text-editor
Reported by
albierpa...@gmail.com,
Jul 26
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce the problem: 1. Copy a div or any element that has a background-image specified in a CSS stylesheet 2. paste that text inside another DIV with contenteditable=true on that page 3. All the CSS styles of that divs are passed as style attribute BUT the path of the bacground-image remains relative to the stylesheet and gives a 404 when used inside style attribute What is the expected behavior? What went wrong? 404 on background image Did this work before? No Does this work in other browsers? N/A Chrome version: 56.0.2924.87 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 30.0 r0 when copying things, just convert any CSS rules that use relative URLs to absolute paths instead.
,
Jul 26
,
Aug 1
Thanks for filing the issue! @Reporter: Could you please provide sample Test file/URL that reproduces the issue which helps us in further triaging the issue in better way. Thanks!
,
Aug 1
Case Demo
,
Aug 1
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 8
Could not repro on Chrome 68 Mac. The image shows up. Was able to repro this in Firefox 61. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dtapu...@chromium.org
, Jul 26