mirror of
https://github.com/less/less.js.git
synced 2026-02-18 02:41:32 -05:00
When relative URLs are on, and there's an image referenced via url(...), if the URL is unquoted, the generated CSS duplicates the base path
17 lines
382 B
Plaintext
17 lines
382 B
Plaintext
@import "../css/background.css";
|
|
@import "import-test-d.css";
|
|
|
|
@import "imports/logo";
|
|
@import "imports/font";
|
|
|
|
.unquoted-relative-path-bg() {
|
|
background-image: url(../../data/image.jpg);
|
|
}
|
|
.quoted-relative-path-border-image() {
|
|
border-image: url('../../data/image.jpg');
|
|
}
|
|
|
|
#imported-relative-path {
|
|
.unquoted-relative-path-bg;
|
|
.quoted-relative-path-border-image;
|
|
} |