-
-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
fix(css_formatter): CSS formatter converts variable declarations and …
…function calls to lowercase #3068
1 parent
8fe1d5f
commit 35f93bb
Showing
10 changed files
with
60 additions
and
75 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 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
60 changes: 30 additions & 30 deletions
60
crates/biome_css_parser/tests/css_test_suite/ok/at_rule/at_rule_container_complex.css.snap
Large diffs are not rendered by default.
Oops, something went wrong.
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 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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
source: crates/biome_css_parser/tests/spec_test.rs | ||
expression: snapshot | ||
--- | ||
|
||
## Input | ||
|
||
```css | ||
|
@@ -250,7 +249,7 @@ CssRoot { | |
CssDeclarationWithSemicolon { | ||
declaration: CssDeclaration { | ||
property: CssGenericProperty { | ||
name: CssIdentifier { | ||
name: CssDashedIdentifier { | ||
value_token: [email protected] "--width" [Newline("\n"), Whitespace(" ")] [], | ||
}, | ||
colon_token: [email protected] ":" [] [Whitespace(" ")], | ||
|
@@ -5062,7 +5061,7 @@ CssRoot { | |
0: [email protected] | ||
0: [email protected] | ||
0: [email protected] | ||
0: CSS_IDENTIFIER@49..61 | ||
0: CSS_DASHED_IDENTIFIER@49..61 | ||
0: [email protected] "--width" [Newline("\n"), Whitespace(" ")] [] | ||
1: [email protected] ":" [] [Whitespace(" ")] | ||
2: [email protected] | ||
|
@@ -8040,5 +8039,3 @@ CssRoot { | |
2: [email protected] "" [] [] | ||
|
||
``` | ||
|
||
|
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