Opened 13 years ago
Closed 13 years ago
#5908 closed defect (fixed)
cssOptimize path breakage
Reported by: | dante | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | BuildTools | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
using the cssOptimize=comments on a custom css file breaks the paths.
to reproduce: create a sibling "ns" folder
ns/ tests/test.css tests/test_Dialog.html
the tests.css has:
@import "../../dijit/themes/tundra/tundra.css";
before build, the paths work.
running a build_release-like build (see b1 build) causes the paths to the icons in tundra.css to be refered to in tests.css as:
url(dijit/themes/tundra/images/...)
when it should in fact be
url(../../dijit/themes/tundra/images...)
interestingly, if the test.css is in the top ns, and is referenced by the test_Dialog.html as @import "../test.css";
(and test.css's @import is simply ../dijit/themes/tundra/tundra.css), the path's work after build (if i'm not mistaken).
Attachments (2)
Change History (3)
Changed 13 years ago by
Attachment: | test_Dialog.html added |
---|
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
put in ns/tests/