swc/css/parser/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/span.rust-debug
강동윤 7381644f6b
feat(css): Implement codegen for css (#2115)
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.
2021-08-20 12:38:15 +00:00

67 lines
1.4 KiB
Plaintext

error: Stylesheet
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:1
|
1 | [attr\~=x] {}
| ^^^^^^^^^^^^^
error: Rule
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:1
|
1 | [attr\~=x] {}
| ^^^^^^^^^^^^^
error: StyleRule
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:1
|
1 | [attr\~=x] {}
| ^^^^^^^^^^^^^
error: ComplexSelector
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:1
|
1 | [attr\~=x] {}
| ^^^^^^^^^^
error: CompoundSelector
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:1
|
1 | [attr\~=x] {}
| ^^^^^^^^^^
error: SubclassSelector
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:1
|
1 | [attr\~=x] {}
| ^^^^^^^^^^
error: AttrSelector
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:1
|
1 | [attr\~=x] {}
| ^^^^^^^^^^
error: NamespacedName
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:2
|
1 | [attr\~=x] {}
| ^^^^^^
error: Text
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:2
|
1 | [attr\~=x] {}
| ^^^^^^
error: Str
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:9
|
1 | [attr\~=x] {}
| ^
error: DeclBlock
--> $DIR/tests/fixture/esbuild/misc/sI7kJsMAHm4ehV5Ec9i9hg/input.css:1:12
|
1 | [attr\~=x] {}
| ^^