When you save the page locally the background images are not downloaded
Reported by
carlospe...@gmail.com,
Nov 30
|
||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Example URL:
Steps to reproduce the problem:
1. Create a page with an element that has a css background image.
2. Put a code similar to this on the page, either in the external css file, in the <style> tag, or in the html element style="" tag.
An image (png, jpg, gif, etc):
background-image: url("file.png");
Or maybe:
background-image: url("path/to/file.png");
3. Upload the page to a host (such as localhost).
4. Access the page using the browser.
5. Save the page locally (example: pressing CTRL + S), and select the "Webpage, Complete" option.
6. The page file is broken, the background images were not saved in the "_files" folder.
What is the expected behavior?
The images are downloaded in the "pagename_files" folder and the link is changed in the downloaded HTML or CSS file:
background-image: url(".pagename_files/file.png");
What went wrong?
1. Images are not downloaded.
2. CSS image links are not updated in the HTML file or in the CSS files.
Did this work before? No
Chrome version: 70.0.3538.110 Channel: stable
OS Version: 10.0
Flash Version:
,
Dec 1
,
Dec 3
Thanks for filing the issue... @Reporter: It would be really helpful if a sample URL/Extension is provided, so that we can investigate the issue further. Thanks.!
,
Dec 4
@Comment 3: I am sending a url with an example page: https://carlospereira3254.000webhostapp.com/example_page.html
,
Dec 4
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 |
||||
►
Sign in to add a comment |
||||
Comment 1 by mmenke@chromium.org
, Nov 30