Opened 11 years ago

Closed 11 years ago

#6851 closed defect (fixed)

CSS optimization in build: absolute url-paths (e.g. for images) wrongly replaced when inlining css files from @import calls

Reported by: guest Owned by: James Burke
Priority: high Milestone: 1.2
Component: BuildSystem Version: 1.1.1
Keywords: Cc: micha@…
Blocked By: Blocking:

Description

when I make a dojo build (dojo 1.1.0) with cssOptimize=comments.keepLines, I have the problem that absolute paths from the inlined css-files are wrongly replaced. E.g.: http://www.... to css/http://www..., only for relative paths this is correct and very helpful. I need this sometimes to set images from other websites, e.g.: background-image: url(http://www...);.

see also: http://dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-support/css-optimization-build-absolute-url-paths-e-g-images-wron

Change History (2)

comment:1 Changed 11 years ago by James Burke

Milestone: 1.2

comment:2 Changed 11 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [14139]) Fixes #6851. Ignore full URLs when doing css path fixing during css optimization step.

Note: See TracTickets for help on using tickets.