Ticket #13972 (confirmed Feature Request)
inline resources are not supported by Products.ResourceRegistry
Reported by: | saily | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Templates/CSS | Version: | |
Keywords: | Cc: |
Description
inline images not supported in css, for example a base64 transparent gif image:
background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP)
is transformed to an absolute url:
background-image: url(http://myplone.site/++theme++my.theme/css/data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP)
Change History
Note: See
TracTickets for help on using
tickets.
This is only an issue only when 'Replace relative paths in url() statements with absolute paths' is checked for the file in the registry. You can create a separate CSS file without this options checked for the data images.
Though this may be something we'd want to change, that even if the option is checked, the absolute path would not be prepended to data: