mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
7381644f6b
swc_css_ast: - Remove unused tokens. - `SubclassSelector::PseudoClass` => `SubclassSelector::Pseudo`. - Fix `AttrSelectorOp` - `AttrSelector.value`: `Option<Text>` => `Option<Str>`. swc_css_codegen: - Implement a code generator. swc_css_parser: - Implement `Parse<Stylesheet>` for the parser. - Fix parsing of pseudo selectors. - Fix parsing of unknown at-rules.
73 lines
1.5 KiB
Plaintext
73 lines
1.5 KiB
Plaintext
error: Stylesheet
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:1
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:1
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:1
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:1
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^^^^^^^^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:1
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^^^^^^^^
|
|
|
|
error: SubclassSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:1
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^^^^^^^^
|
|
|
|
error: AttrSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:1
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^^^^^^^^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:2
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:2
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:4
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^
|
|
|
|
error: Str
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:7
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^^
|
|
|
|
error: DeclBlock
|
|
--> $DIR/tests/fixture/esbuild/misc/fYJdtIZOdQKTLI8JJC2b_g/input.css:1:11
|
|
|
|
|
1 | [a|b|="c"]{}
|
|
| ^^
|
|
|