swc/crates/swc_css_parser/tests/recovery/style-blocks-contents/invalid-nested/span.swc-stderr
2022-12-09 02:27:19 +00:00

718 lines
17 KiB
Plaintext

x Stylesheet
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | ,-> .class {
2 | | color: red;
3 | | & test;
4 | | background: red;
5 | | }
6 | |
7 | | article {
8 | | color: green;
9 | | & { color: blue; }
10 | | color: red;
11 | | &.foo { color: yellow; } /* valid! */
12 | `-> }
`----
x Rule
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | ,-> .class {
2 | | color: red;
3 | | & test;
4 | | background: red;
5 | `-> }
`----
x QualifiedRule
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | ,-> .class {
2 | | color: red;
3 | | & test;
4 | | background: red;
5 | `-> }
`----
x SelectorList
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
: ^^^^^^
2 | color: red;
`----
x ComplexSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
: ^^^^^^
2 | color: red;
`----
x CompoundSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
: ^^^^^^
2 | color: red;
`----
x SubclassSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
: ^^^^^^
2 | color: red;
`----
x ClassSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
: ^^^^^^
2 | color: red;
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
: ^^^^^
2 | color: red;
`----
x SimpleBlock
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | ,-> .class {
2 | | color: red;
3 | | & test;
4 | | background: red;
5 | `-> }
`----
x LBrace
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
: ^
2 | color: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
2 | color: red;
: ^^^^^^^^^^
3 | & test;
`----
x Declaration
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
2 | color: red;
: ^^^^^^^^^^
3 | & test;
`----
x DeclarationName
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
2 | color: red;
: ^^^^^
3 | & test;
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
2 | color: red;
: ^^^^^
3 | & test;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
2 | color: red;
: ^^^
3 | & test;
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:1:1]
1 | .class {
2 | color: red;
: ^^^
3 | & test;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^^^^^^^
4 | background: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----
x Delim { value: '&' }
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----
x WhiteSpace { value: " " }
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^^^^
4 | background: red;
`----
x Ident { value: Atom('test' type=inline), raw: "test" }
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^^^^
4 | background: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----
x Semi
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:2:1]
2 | color: red;
3 | & test;
: ^
4 | background: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:3:1]
3 | & test;
4 | background: red;
: ^^^^^^^^^^^^^^^
5 | }
`----
x Declaration
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:3:1]
3 | & test;
4 | background: red;
: ^^^^^^^^^^^^^^^
5 | }
`----
x DeclarationName
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:3:1]
3 | & test;
4 | background: red;
: ^^^^^^^^^^
5 | }
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:3:1]
3 | & test;
4 | background: red;
: ^^^^^^^^^^
5 | }
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:3:1]
3 | & test;
4 | background: red;
: ^^^
5 | }
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:3:1]
3 | & test;
4 | background: red;
: ^^^
5 | }
`----
x Rule
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | ,-> article {
8 | | color: green;
9 | | & { color: blue; }
10 | | color: red;
11 | | &.foo { color: yellow; } /* valid! */
12 | `-> }
`----
x QualifiedRule
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | ,-> article {
8 | | color: green;
9 | | & { color: blue; }
10 | | color: red;
11 | | &.foo { color: yellow; } /* valid! */
12 | `-> }
`----
x SelectorList
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^^^^^^^
8 | color: green;
`----
x ComplexSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^^^^^^^
8 | color: green;
`----
x CompoundSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^^^^^^^
8 | color: green;
`----
x TypeSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^^^^^^^
8 | color: green;
`----
x TagNameSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^^^^^^^
8 | color: green;
`----
x WqName
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^^^^^^^
8 | color: green;
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^^^^^^^
8 | color: green;
`----
x SimpleBlock
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | ,-> article {
8 | | color: green;
9 | | & { color: blue; }
10 | | color: red;
11 | | &.foo { color: yellow; } /* valid! */
12 | `-> }
`----
x LBrace
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:6:1]
6 |
7 | article {
: ^
8 | color: green;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:7:1]
7 | article {
8 | color: green;
: ^^^^^^^^^^^^
9 | & { color: blue; }
`----
x Declaration
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:7:1]
7 | article {
8 | color: green;
: ^^^^^^^^^^^^
9 | & { color: blue; }
`----
x DeclarationName
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:7:1]
7 | article {
8 | color: green;
: ^^^^^
9 | & { color: blue; }
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:7:1]
7 | article {
8 | color: green;
: ^^^^^
9 | & { color: blue; }
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:7:1]
7 | article {
8 | color: green;
: ^^^^^
9 | & { color: blue; }
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:7:1]
7 | article {
8 | color: green;
: ^^^^^
9 | & { color: blue; }
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:9:1]
9 | & { color: blue; }
10 | color: red;
: ^^^^^^^^^^
11 | &.foo { color: yellow; } /* valid! */
`----
x Declaration
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:9:1]
9 | & { color: blue; }
10 | color: red;
: ^^^^^^^^^^
11 | &.foo { color: yellow; } /* valid! */
`----
x DeclarationName
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:9:1]
9 | & { color: blue; }
10 | color: red;
: ^^^^^
11 | &.foo { color: yellow; } /* valid! */
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:9:1]
9 | & { color: blue; }
10 | color: red;
: ^^^^^
11 | &.foo { color: yellow; } /* valid! */
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:9:1]
9 | & { color: blue; }
10 | color: red;
: ^^^
11 | &.foo { color: yellow; } /* valid! */
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:9:1]
9 | & { color: blue; }
10 | color: red;
: ^^^
11 | &.foo { color: yellow; } /* valid! */
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^^^^^^^^^^^^^^^
10 | color: red;
`----
x QualifiedRule
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^^^^^^^^^^^^^^^
10 | color: red;
`----
x RelativeSelectorList
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^
10 | color: red;
`----
x RelativeSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^
10 | color: red;
`----
x ComplexSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^
10 | color: red;
`----
x CompoundSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^
10 | color: red;
`----
x NestingSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^
10 | color: red;
`----
x SimpleBlock
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^^^^^^^^^^^^^
10 | color: red;
`----
x LBrace
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^
10 | color: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^^^^^^^^
10 | color: red;
`----
x Declaration
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^^^^^^^^
10 | color: red;
`----
x DeclarationName
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^^
10 | color: red;
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^^
10 | color: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^
10 | color: red;
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:8:1]
8 | color: green;
9 | & { color: blue; }
: ^^^^
10 | color: red;
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^^^^^^^^^^^^^^^^^^^^
12 | }
`----
x QualifiedRule
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^^^^^^^^^^^^^^^^^^^^
12 | }
`----
x RelativeSelectorList
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^
12 | }
`----
x RelativeSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^
12 | }
`----
x ComplexSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^
12 | }
`----
x CompoundSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^
12 | }
`----
x NestingSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^
12 | }
`----
x SubclassSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^
12 | }
`----
x ClassSelector
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^
12 | }
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^
12 | }
`----
x SimpleBlock
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^^^^^^^^^^^^^^
12 | }
`----
x LBrace
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^
12 | }
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^^^^^^^^^
12 | }
`----
x Declaration
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^^^^^^^^^
12 | }
`----
x DeclarationName
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^
12 | }
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^
12 | }
`----
x ComponentValue
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^^
12 | }
`----
x Ident
,-[$DIR/tests/recovery/style-blocks-contents/invalid-nested/input.css:10:1]
10 | color: red;
11 | &.foo { color: yellow; } /* valid! */
: ^^^^^^
12 | }
`----