-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1803 from sass/bogus-combinator
Add tests for bogus combinators
- Loading branch information
Showing
57 changed files
with
4,265 additions
and
1,727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
spec/core_functions/selector/extend/complex/combinator_only.hrx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<===> selector/input.scss | ||
a {b: selector-extend("+", ".c", ".d")} | ||
|
||
<===> selector/output.css | ||
a { | ||
b: +; | ||
} | ||
|
||
<===> selector/warning | ||
DEPRECATION WARNING: $selector: + is not valid CSS. | ||
This will be an error in Dart Sass 2.0.0. | ||
|
||
More info: https://sass-lang.com/d/bogus-combinators | ||
|
||
, | ||
1 | a {b: selector-extend("+", ".c", ".d")} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
' | ||
input.scss 1:7 root stylesheet | ||
|
||
<===> selector/warning-libsass | ||
|
||
<===> | ||
================================================================================ | ||
<===> extender/input.scss | ||
a {b: selector-extend(".c", ".c", ">")} | ||
|
||
<===> extender/output.css | ||
a { | ||
b: .c, >; | ||
} | ||
|
||
<===> extender/warning | ||
DEPRECATION WARNING: $extender: > is not valid CSS. | ||
This will be an error in Dart Sass 2.0.0. | ||
|
||
More info: https://sass-lang.com/d/bogus-combinators | ||
|
||
, | ||
1 | a {b: selector-extend(".c", ".c", ">")} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
' | ||
input.scss 1:7 root stylesheet | ||
|
||
<===> extender/warning-libsass |
Oops, something went wrong.