swc/crates/swc_css_parser/tests/fixture/rome/custom-properties/span.rust-debug
Alexander Akait c94735e540
fix(css): Handle custom properties properly (#2869)
swc_css_codegen:
 - Fix code generation of custom properties.

swc_css_parser:
 - Fix parsing of custom properties.
2021-11-27 16:11:40 +00:00

962 lines
24 KiB
Plaintext

error: Stylesheet
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | / .style {
2 | | --foo: 'bar';
3 | | --lore-ipsum: "foo";
4 | | --FANCY: "abort";
... |
22 | | --cdc-not-top-level: (-->);
23 | | }
| |__^
error: Rule
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | / .style {
2 | | --foo: 'bar';
3 | | --lore-ipsum: "foo";
4 | | --FANCY: "abort";
... |
22 | | --cdc-not-top-level: (-->);
23 | | }
| |_^
error: QualifiedRule
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | / .style {
2 | | --foo: 'bar';
3 | | --lore-ipsum: "foo";
4 | | --FANCY: "abort";
... |
22 | | --cdc-not-top-level: (-->);
23 | | }
| |_^
error: SelectorList
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | .style {
| ^^^^^^
error: ComplexSelector
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | .style {
| ^^^^^^
error: CompoundSelector
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | .style {
| ^^^^^^
error: SubclassSelector
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | .style {
| ^^^^^^
error: ClassSelector
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:1
|
1 | .style {
| ^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:2
|
1 | .style {
| ^^^^^
error: Block
--> $DIR/tests/fixture/rome/custom-properties/input.css:1:8
|
1 | .style {
| ________^
2 | | --foo: 'bar';
3 | | --lore-ipsum: "foo";
4 | | --FANCY: "abort";
... |
22 | | --cdc-not-top-level: (-->);
23 | | }
| |_^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:2:2
|
2 | --foo: 'bar';
| ^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:2:2
|
2 | --foo: 'bar';
| ^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:2:8
|
2 | --foo: 'bar';
| ^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:2:8
|
2 | --foo: 'bar';
| ^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:2:8
|
2 | --foo: 'bar';
| ^
error: Str { value: Atom('bar' type=inline), raw: Atom(''bar'' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:2:9
|
2 | --foo: 'bar';
| ^^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:3:2
|
3 | --lore-ipsum: "foo";
| ^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:3:2
|
3 | --lore-ipsum: "foo";
| ^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:3:15
|
3 | --lore-ipsum: "foo";
| ^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:3:15
|
3 | --lore-ipsum: "foo";
| ^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:3:15
|
3 | --lore-ipsum: "foo";
| ^
error: Str { value: Atom('foo' type=inline), raw: Atom('"foo"' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:3:16
|
3 | --lore-ipsum: "foo";
| ^^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:4:2
|
4 | --FANCY: "abort";
| ^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:4:2
|
4 | --FANCY: "abort";
| ^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:4:10
|
4 | --FANCY: "abort";
| ^^^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:4:10
|
4 | --FANCY: "abort";
| ^^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:4:10
|
4 | --FANCY: "abort";
| ^
error: Str { value: Atom('abort' type=inline), raw: Atom('"abort"' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:4:11
|
4 | --FANCY: "abort";
| ^^^^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:5:2
|
5 | --test: 1987;
| ^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:5:2
|
5 | --test: 1987;
| ^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:5:9
|
5 | --test: 1987;
| ^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:5:9
|
5 | --test: 1987;
| ^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:5:9
|
5 | --test: 1987;
| ^
error: Num { value: 1987.0, raw: Atom('1987' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:5:10
|
5 | --test: 1987;
| ^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:6:2
|
6 | --percentage: 25%;
| ^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:6:2
|
6 | --percentage: 25%;
| ^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:6:15
|
6 | --percentage: 25%;
| ^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:6:15
|
6 | --percentage: 25%;
| ^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:6:15
|
6 | --percentage: 25%;
| ^
error: Percent { value: 25.0, raw: Atom('25' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:6:16
|
6 | --percentage: 25%;
| ^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:7:2
|
7 | --number: 37;
| ^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:7:2
|
7 | --number: 37;
| ^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:7:11
|
7 | --number: 37;
| ^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:7:11
|
7 | --number: 37;
| ^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:7:11
|
7 | --number: 37;
| ^
error: Num { value: 37.0, raw: Atom('37' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:7:12
|
7 | --number: 37;
| ^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:8:2
|
8 | --length: 12em;
| ^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:8:2
|
8 | --length: 12em;
| ^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:8:11
|
8 | --length: 12em;
| ^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:8:11
|
8 | --length: 12em;
| ^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:8:11
|
8 | --length: 12em;
| ^
error: Dimension { value: 12.0, raw_value: Atom('12' type=inline), unit: Atom('em' type=inline), raw_unit: Atom('em' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:8:12
|
8 | --length: 12em;
| ^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:9:2
|
9 | --time: 75ms;
| ^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:9:2
|
9 | --time: 75ms;
| ^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:9:9
|
9 | --time: 75ms;
| ^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:9:9
|
9 | --time: 75ms;
| ^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:9:9
|
9 | --time: 75ms;
| ^
error: Dimension { value: 75.0, raw_value: Atom('75' type=inline), unit: Atom('ms' type=inline), raw_unit: Atom('ms' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:9:10
|
9 | --time: 75ms;
| ^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:10:2
|
10 | --function: foo();
| ^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:10:2
|
10 | --function: foo();
| ^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:10:13
|
10 | --function: foo();
| ^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:10:13
|
10 | --function: foo();
| ^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:10:13
|
10 | --function: foo();
| ^
error: Function { value: Atom('foo' type=inline), raw: Atom('foo' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:10:14
|
10 | --function: foo();
| ^^^^
error: RParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:10:18
|
10 | --function: foo();
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:2
|
11 | --nested-function: foo(bar());
| ^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:2
|
11 | --nested-function: foo(bar());
| ^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:20
|
11 | --nested-function: foo(bar());
| ^^^^^^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:20
|
11 | --nested-function: foo(bar());
| ^^^^^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:20
|
11 | --nested-function: foo(bar());
| ^
error: Function { value: Atom('foo' type=inline), raw: Atom('foo' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:21
|
11 | --nested-function: foo(bar());
| ^^^^
error: Function { value: Atom('bar' type=inline), raw: Atom('bar' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:25
|
11 | --nested-function: foo(bar());
| ^^^^
error: RParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:29
|
11 | --nested-function: foo(bar());
| ^
error: RParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:11:30
|
11 | --nested-function: foo(bar());
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:2
|
12 | --parentheses: ( );
| ^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:2
|
12 | --parentheses: ( );
| ^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:16
|
12 | --parentheses: ( );
| ^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:16
|
12 | --parentheses: ( );
| ^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:16
|
12 | --parentheses: ( );
| ^
error: LParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:17
|
12 | --parentheses: ( );
| ^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:18
|
12 | --parentheses: ( );
| ^
error: RParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:12:19
|
12 | --parentheses: ( );
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:2
|
13 | --braces: { };
| ^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:2
|
13 | --braces: { };
| ^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:11
|
13 | --braces: { };
| ^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:11
|
13 | --braces: { };
| ^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:11
|
13 | --braces: { };
| ^
error: LBrace
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:12
|
13 | --braces: { };
| ^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:13
|
13 | --braces: { };
| ^
error: RBrace
--> $DIR/tests/fixture/rome/custom-properties/input.css:13:14
|
13 | --braces: { };
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:2
|
14 | --brackets: [ ];
| ^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:2
|
14 | --brackets: [ ];
| ^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:13
|
14 | --brackets: [ ];
| ^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:13
|
14 | --brackets: [ ];
| ^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:13
|
14 | --brackets: [ ];
| ^
error: LBracket
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:14
|
14 | --brackets: [ ];
| ^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:15
|
14 | --brackets: [ ];
| ^
error: RBracket
--> $DIR/tests/fixture/rome/custom-properties/input.css:14:16
|
14 | --brackets: [ ];
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:15:2
|
15 | --at-keyword-unknown: @foobar;
| ^^^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:15:2
|
15 | --at-keyword-unknown: @foobar;
| ^^^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:15:23
|
15 | --at-keyword-unknown: @foobar;
| ^^^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:15:23
|
15 | --at-keyword-unknown: @foobar;
| ^^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:15:23
|
15 | --at-keyword-unknown: @foobar;
| ^
error: AtKeyword { value: Atom('foobar' type=inline), raw: Atom('foobar' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:15:24
|
15 | --at-keyword-unknown: @foobar;
| ^^^^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:16:2
|
16 | --at-keyword-known: @media;
| ^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:16:2
|
16 | --at-keyword-known: @media;
| ^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:16:21
|
16 | --at-keyword-known: @media;
| ^^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:16:21
|
16 | --at-keyword-known: @media;
| ^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:16:21
|
16 | --at-keyword-known: @media;
| ^
error: AtKeyword { value: Atom('media' type=inline), raw: Atom('media' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:16:22
|
16 | --at-keyword-known: @media;
| ^^^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:2
|
17 | --at-keyword-unknown-block: @foobar {};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:2
|
17 | --at-keyword-unknown-block: @foobar {};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:29
|
17 | --at-keyword-unknown-block: @foobar {};
| ^^^^^^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:29
|
17 | --at-keyword-unknown-block: @foobar {};
| ^^^^^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:29
|
17 | --at-keyword-unknown-block: @foobar {};
| ^
error: AtKeyword { value: Atom('foobar' type=inline), raw: Atom('foobar' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:30
|
17 | --at-keyword-unknown-block: @foobar {};
| ^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:37
|
17 | --at-keyword-unknown-block: @foobar {};
| ^
error: LBrace
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:38
|
17 | --at-keyword-unknown-block: @foobar {};
| ^
error: RBrace
--> $DIR/tests/fixture/rome/custom-properties/input.css:17:39
|
17 | --at-keyword-unknown-block: @foobar {};
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:2
|
18 | --at-keyword-known-block: @media {};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:2
|
18 | --at-keyword-known-block: @media {};
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:27
|
18 | --at-keyword-known-block: @media {};
| ^^^^^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:27
|
18 | --at-keyword-known-block: @media {};
| ^^^^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:27
|
18 | --at-keyword-known-block: @media {};
| ^
error: AtKeyword { value: Atom('media' type=inline), raw: Atom('media' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:28
|
18 | --at-keyword-known-block: @media {};
| ^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:34
|
18 | --at-keyword-known-block: @media {};
| ^
error: LBrace
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:35
|
18 | --at-keyword-known-block: @media {};
| ^
error: RBrace
--> $DIR/tests/fixture/rome/custom-properties/input.css:18:36
|
18 | --at-keyword-known-block: @media {};
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:19:2
|
19 | --cdo-at-top-level: <!--;
| ^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:19:2
|
19 | --cdo-at-top-level: <!--;
| ^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:19:21
|
19 | --cdo-at-top-level: <!--;
| ^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:19:21
|
19 | --cdo-at-top-level: <!--;
| ^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:19:21
|
19 | --cdo-at-top-level: <!--;
| ^
error: CDO
--> $DIR/tests/fixture/rome/custom-properties/input.css:19:22
|
19 | --cdo-at-top-level: <!--;
| ^^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:20:2
|
20 | --cdc-at-top-level: -->;
| ^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:20:2
|
20 | --cdc-at-top-level: -->;
| ^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:20:21
|
20 | --cdc-at-top-level: -->;
| ^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:20:21
|
20 | --cdc-at-top-level: -->;
| ^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:20:21
|
20 | --cdc-at-top-level: -->;
| ^
error: CDC
--> $DIR/tests/fixture/rome/custom-properties/input.css:20:22
|
20 | --cdc-at-top-level: -->;
| ^^^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:2
|
21 | --cdo-not-top-level: (<!--);
| ^^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:2
|
21 | --cdo-not-top-level: (<!--);
| ^^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:22
|
21 | --cdo-not-top-level: (<!--);
| ^^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:22
|
21 | --cdo-not-top-level: (<!--);
| ^^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:22
|
21 | --cdo-not-top-level: (<!--);
| ^
error: LParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:23
|
21 | --cdo-not-top-level: (<!--);
| ^
error: CDO
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:24
|
21 | --cdo-not-top-level: (<!--);
| ^^^^
error: RParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:21:28
|
21 | --cdo-not-top-level: (<!--);
| ^
error: Declaration
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:2
|
22 | --cdc-not-top-level: (-->);
| ^^^^^^^^^^^^^^^^^^^^^
error: Ident
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:2
|
22 | --cdc-not-top-level: (-->);
| ^^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:22
|
22 | --cdc-not-top-level: (-->);
| ^^^^^^
error: Tokens
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:22
|
22 | --cdc-not-top-level: (-->);
| ^^^^^^
error: WhiteSpace { value: Atom(' ' type=inline) }
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:22
|
22 | --cdc-not-top-level: (-->);
| ^
error: LParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:23
|
22 | --cdc-not-top-level: (-->);
| ^
error: CDC
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:24
|
22 | --cdc-not-top-level: (-->);
| ^^^
error: RParen
--> $DIR/tests/fixture/rome/custom-properties/input.css:22:27
|
22 | --cdc-not-top-level: (-->);
| ^