swc/css/parser/tests/fixture/rome/functions/span.rust-debug
강동윤 0d63470eba
feat(css): Groundwork for css processor (#2105)
swc_css_ast:
 - Rename `Values` to `SpaceValues`.

swc_css_parser:
 - Add `parse_str`.
 - Make `ErrorKind` `#[non_exhaustive]`.
 - Fix span.

swc_css_visit:
 - Create visitors.
2021-08-20 07:48:08 +00:00

374 lines
7.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: StyleRule
--> $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: 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: Text
--> $DIR/tests/fixture/rome/functions/input.css:1:2
|
1 | .style {
| ^^^^^
error: DeclBlock
--> $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: Property
--> $DIR/tests/fixture/rome/functions/input.css:2:2
|
2 | --fancy: 2px;
| ^^^^^^^^^^^^
error: Text
--> $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: UnitValue
--> $DIR/tests/fixture/rome/functions/input.css:2:11
|
2 | --fancy: 2px;
| ^^^
error: Num
--> $DIR/tests/fixture/rome/functions/input.css:2:11
|
2 | --fancy: 2px;
| ^
error: Unit
--> $DIR/tests/fixture/rome/functions/input.css:2:12
|
2 | --fancy: 2px;
| ^^
error: Property
--> $DIR/tests/fixture/rome/functions/input.css:3:2
|
3 | border: var(--fancy);
| ^^^^^^^^^^^^^^^^^^^^
error: Text
--> $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: FnValue
--> $DIR/tests/fixture/rome/functions/input.css:3:10
|
3 | border: var(--fancy);
| ^^^^^^^^^^^^
error: Text
--> $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: Text
--> $DIR/tests/fixture/rome/functions/input.css:3:14
|
3 | border: var(--fancy);
| ^^^^^^^
error: Property
--> $DIR/tests/fixture/rome/functions/input.css:4:2
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $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: FnValue
--> $DIR/tests/fixture/rome/functions/input.css:4:13
|
4 | font-size: calc(10px + 5rem);
| ^^^^^^^^^^^^^^^^^
error: Text
--> $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: UnitValue
--> $DIR/tests/fixture/rome/functions/input.css:4:18
|
4 | font-size: calc(10px + 5rem);
| ^^^^
error: Num
--> $DIR/tests/fixture/rome/functions/input.css:4:18
|
4 | font-size: calc(10px + 5rem);
| ^^
error: Unit
--> $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: UnitValue
--> $DIR/tests/fixture/rome/functions/input.css:4:25
|
4 | font-size: calc(10px + 5rem);
| ^^^^
error: Num
--> $DIR/tests/fixture/rome/functions/input.css:4:25
|
4 | font-size: calc(10px + 5rem);
| ^
error: Unit
--> $DIR/tests/fixture/rome/functions/input.css:4:26
|
4 | font-size: calc(10px + 5rem);
| ^^^
error: Property
--> $DIR/tests/fixture/rome/functions/input.css:5:2
|
5 | background: url("");
| ^^^^^^^^^^^^^^^^^^^
error: Text
--> $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: FnValue
--> $DIR/tests/fixture/rome/functions/input.css:5:14
|
5 | background: url("");
| ^^^^^^^
error: Text
--> $DIR/tests/fixture/rome/functions/input.css:5:14
|
5 | background: url("");
| ^^^
error: Value
--> $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: Property
--> $DIR/tests/fixture/rome/functions/input.css:6:2
|
6 | background: url("something");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $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: FnValue
--> $DIR/tests/fixture/rome/functions/input.css:6:14
|
6 | background: url("something");
| ^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/rome/functions/input.css:6:14
|
6 | background: url("something");
| ^^^
error: Value
--> $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: Property
--> $DIR/tests/fixture/rome/functions/input.css:7:2
|
7 | background: url("./something");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $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: FnValue
--> $DIR/tests/fixture/rome/functions/input.css:7:14
|
7 | background: url("./something");
| ^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/rome/functions/input.css:7:14
|
7 | background: url("./something");
| ^^^
error: Value
--> $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");
| ^^^^^^^^^^^^^