swc/css/parser/tests/fixture/styled-jsx/selector/2/span.rust-debug
강동윤 d8ae4c4e90
fix(css/parser): Fix parsing of selectors (#2217)
swc_css_parser:
 - Remove `Parse<CompoundSelector>` implementation.
 - Add `Parse<ComplexSelector>` implementation.
 - Add `Parse<Vec<ComplexSelector>>` implementation.
 - Verify tokens input.
2021-09-08 01:19:14 +00:00

154 lines
3.3 KiB
Plaintext

error: Stylesheet
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:1
|
1 | / p :global(span:not(.test)) {
2 | | color: green;
3 | | }
| |__^
error: Rule
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:1
|
1 | / p :global(span:not(.test)) {
2 | | color: green;
3 | | }
| |_^
error: StyleRule
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:1
|
1 | / p :global(span:not(.test)) {
2 | | color: green;
3 | | }
| |_^
error: ComplexSelector
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:1
|
1 | p :global(span:not(.test)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: CompoundSelector
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:1
|
1 | p :global(span:not(.test)) {
| ^
error: NamespacedName
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:1
|
1 | p :global(span:not(.test)) {
| ^
error: Text
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:1
|
1 | p :global(span:not(.test)) {
| ^
error: CompoundSelector
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:3
|
1 | p :global(span:not(.test)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: SubclassSelector
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:3
|
1 | p :global(span:not(.test)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: PseudoSelector
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:3
|
1 | p :global(span:not(.test)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:4
|
1 | p :global(span:not(.test)) {
| ^^^^^^
error: Tokens
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:11
|
1 | p :global(span:not(.test)) {
| ^^^^^^^^^^^^^^^
error: Ident(Atom('span' type=inline))
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:11
|
1 | p :global(span:not(.test)) {
| ^^^^
error: Colon
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:15
|
1 | p :global(span:not(.test)) {
| ^
error: Ident(Atom('not' type=static))
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:16
|
1 | p :global(span:not(.test)) {
| ^^^
error: LParen
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:19
|
1 | p :global(span:not(.test)) {
| ^
error: Dot
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:20
|
1 | p :global(span:not(.test)) {
| ^
error: Ident(Atom('test' type=inline))
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:21
|
1 | p :global(span:not(.test)) {
| ^^^^
error: RParen
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:19
|
1 | p :global(span:not(.test)) {
| ^
error: DeclBlock
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:1:28
|
1 | p :global(span:not(.test)) {
| ____________________________^
2 | | color: green;
3 | | }
| |_^
error: Property
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:2:5
|
2 | color: green;
| ^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:2:5
|
2 | color: green;
| ^^^^^
error: Value
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:2:12
|
2 | color: green;
| ^^^^^
error: Text
--> $DIR/tests/fixture/styled-jsx/selector/2/input.css:2:12
|
2 | color: green;
| ^^^^^