swc/crates/swc_css_parser/tests/fixture/rome/functions/span.rust-debug
Alexander Akait 30c29a30cf
feat(css): Improve codegen where minify: true (#3414)
swc_css_codegen:
 - Improve minification.

swc_css_parser:
 - Add parsing rule for `sum`.
2022-02-01 12:30:44 +00:00

410 lines
8.9 KiB
Plaintext

error: Stylesheet
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | / .style {
2 | | --fancy: 2px;
3 | | border: var(--fancy);
4 | | font-size: calc(10px + 5rem);
... |
7 | | background: url("./something");
8 | | }
| |__^
error: Rule
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | / .style {
2 | | --fancy: 2px;
3 | | border: var(--fancy);
4 | | font-size: calc(10px + 5rem);
... |
7 | | background: url("./something");
8 | | }
| |_^
error: QualifiedRule
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | / .style {
2 | | --fancy: 2px;
3 | | border: var(--fancy);
4 | | font-size: calc(10px + 5rem);
... |
7 | | background: url("./something");
8 | | }
| |_^
error: SelectorList
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | .style {
| ^^^^^^
error: ComplexSelector
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | .style {
| ^^^^^^
error: CompoundSelector
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | .style {
| ^^^^^^
error: SubclassSelector
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | .style {
| ^^^^^^
error: ClassSelector
--> $DIR/tests/fixture/rome/functions/input.css:1:1
|
1 | .style {
| ^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:1:2
|
1 | .style {
| ^^^^^
error: Block
--> $DIR/tests/fixture/rome/functions/input.css:1:8
|
1 | .style {
| ________^
2 | | --fancy: 2px;
3 | | border: var(--fancy);
4 | | font-size: calc(10px + 5rem);
... |
7 | | background: url("./something");
8 | | }
| |_^
error: Declaration
--> $DIR/tests/fixture/rome/functions/input.css:2:2
|
2 | --fancy: 2px;
| ^^^^^^^^^^^^
error: DeclarationName
--> $DIR/tests/fixture/rome/functions/input.css:2:2
|
2 | --fancy: 2px;
| ^^^^^^^
error: DashedIdent
--> $DIR/tests/fixture/rome/functions/input.css:2:2
|
2 | --fancy: 2px;
| ^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:2:11
|
2 | --fancy: 2px;
| ^^^
error: Tokens
--> $DIR/tests/fixture/rome/functions/input.css:2:11
|
2 | --fancy: 2px;
| ^^^
error: Dimension { value: 2.0, raw_value: Atom('2' type=inline), unit: Atom('px' type=inline), raw_unit: Atom('px' type=inline), type_flag: Integer }
--> $DIR/tests/fixture/rome/functions/input.css:2:11
|
2 | --fancy: 2px;
| ^^^
error: Declaration
--> $DIR/tests/fixture/rome/functions/input.css:3:2
|
3 | border: var(--fancy);
| ^^^^^^^^^^^^^^^^^^^^
error: DeclarationName
--> $DIR/tests/fixture/rome/functions/input.css:3:2
|
3 | border: var(--fancy);
| ^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:3:2
|
3 | border: var(--fancy);
| ^^^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:3:10
|
3 | border: var(--fancy);
| ^^^^^^^^^^^^
error: Function
--> $DIR/tests/fixture/rome/functions/input.css:3:10
|
3 | border: var(--fancy);
| ^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:3:10
|
3 | border: var(--fancy);
| ^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:3:14
|
3 | border: var(--fancy);
| ^^^^^^^
error: DashedIdent
--> $DIR/tests/fixture/rome/functions/input.css:3:14
|
3 | border: var(--fancy);
| ^^^^^^^
error: Declaration
--> $DIR/tests/fixture/rome/functions/input.css:4:2
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: DeclarationName
--> $DIR/tests/fixture/rome/functions/input.css:4:2
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:4:2
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:4:13
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^^^^^^^^^
error: Function
--> $DIR/tests/fixture/rome/functions/input.css:4:13
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:4:13
|
4 | font-size: calc(10px + 5rem);
| ^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:4:18
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^^^
error: BinValue
--> $DIR/tests/fixture/rome/functions/input.css:4:18
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:4:18
|
4 | font-size: calc(10px + 5rem);
| ^^^^
error: Dimension
--> $DIR/tests/fixture/rome/functions/input.css:4:18
|
4 | font-size: calc(10px + 5rem);
| ^^^^
error: Number
--> $DIR/tests/fixture/rome/functions/input.css:4:18
|
4 | font-size: calc(10px + 5rem);
| ^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:4:20
|
4 | font-size: calc(10px + 5rem);
| ^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:4:25
|
4 | font-size: calc(10px + 5rem);
| ^^^^
error: Dimension
--> $DIR/tests/fixture/rome/functions/input.css:4:25
|
4 | font-size: calc(10px + 5rem);
| ^^^^
error: Number
--> $DIR/tests/fixture/rome/functions/input.css:4:25
|
4 | font-size: calc(10px + 5rem);
| ^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:4:26
|
4 | font-size: calc(10px + 5rem);
| ^^^
error: Declaration
--> $DIR/tests/fixture/rome/functions/input.css:5:2
|
5 | background: url("");
| ^^^^^^^^^^^^^^^^^^^
error: DeclarationName
--> $DIR/tests/fixture/rome/functions/input.css:5:2
|
5 | background: url("");
| ^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:5:2
|
5 | background: url("");
| ^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:5:14
|
5 | background: url("");
| ^^^^^^^
error: Url
--> $DIR/tests/fixture/rome/functions/input.css:5:14
|
5 | background: url("");
| ^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:5:14
|
5 | background: url("");
| ^^^
error: UrlValue
--> $DIR/tests/fixture/rome/functions/input.css:5:18
|
5 | background: url("");
| ^^
error: Str
--> $DIR/tests/fixture/rome/functions/input.css:5:18
|
5 | background: url("");
| ^^
error: Declaration
--> $DIR/tests/fixture/rome/functions/input.css:6:2
|
6 | background: url("something");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: DeclarationName
--> $DIR/tests/fixture/rome/functions/input.css:6:2
|
6 | background: url("something");
| ^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:6:2
|
6 | background: url("something");
| ^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:6:14
|
6 | background: url("something");
| ^^^^^^^^^^^^^^^^
error: Url
--> $DIR/tests/fixture/rome/functions/input.css:6:14
|
6 | background: url("something");
| ^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:6:14
|
6 | background: url("something");
| ^^^
error: UrlValue
--> $DIR/tests/fixture/rome/functions/input.css:6:18
|
6 | background: url("something");
| ^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/rome/functions/input.css:6:18
|
6 | background: url("something");
| ^^^^^^^^^^^
error: Declaration
--> $DIR/tests/fixture/rome/functions/input.css:7:2
|
7 | background: url("./something");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: DeclarationName
--> $DIR/tests/fixture/rome/functions/input.css:7:2
|
7 | background: url("./something");
| ^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:7:2
|
7 | background: url("./something");
| ^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/functions/input.css:7:14
|
7 | background: url("./something");
| ^^^^^^^^^^^^^^^^^^
error: Url
--> $DIR/tests/fixture/rome/functions/input.css:7:14
|
7 | background: url("./something");
| ^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/functions/input.css:7:14
|
7 | background: url("./something");
| ^^^
error: UrlValue
--> $DIR/tests/fixture/rome/functions/input.css:7:18
|
7 | background: url("./something");
| ^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/rome/functions/input.css:7:18
|
7 | background: url("./something");
| ^^^^^^^^^^^^^