New issue
Advanced search Search tips

Issue 867856 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 8
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Copy Pasting HTML from part of the page to rich-text-editor

Reported by albierpa...@gmail.com, Jul 26

Issue description

UserAgent: 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.
 
Components: Blink>DataTransfer
Labels: Needs-Milestone
Labels: Needs-Feedback Triaged-ET
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!
Case Demo 
chromeIssue-867856.zip
244 KB Download
Project Member

Comment 5 by sheriffbot@chromium.org, Aug 1

Cc: viswa.karala@chromium.org
Labels: -Needs-Feedback
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
Status: WontFix (was: Unconfirmed)
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