Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 76f3f99

Browse files
committed
Merge pull request #12393 from adobe/marcel/cssutils-fix-import-url
Fix CSSUtils detection of @import urls
2 parents 81375bb + 4d75163 commit 76f3f99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/language/CSSUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ define(function (require, exports, module) {
559559
break;
560560
}
561561

562-
if (backwardCtx.token.type && backwardCtx.token.type !== "tag" && backwardCtx.token.string !== "url") {
562+
if (backwardCtx.token.type && backwardCtx.token.type !== "atom" && backwardCtx.token.string !== "url") {
563563
// Previous token may be white-space
564564
// Otherwise, previous token may only be "url("
565565
break;

0 commit comments

Comments
 (0)