mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
c94735e540
swc_css_codegen: - Fix code generation of custom properties. swc_css_parser: - Fix parsing of custom properties.
2237 lines
58 KiB
Plaintext
2237 lines
58 KiB
Plaintext
error: Stylesheet
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | / :root {
|
|
2 | | --:value;
|
|
3 | |
|
|
4 | | --important:value!important;
|
|
... |
|
|
53 | | --foo:
|
|
54 | | }
|
|
| |__^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | / :root {
|
|
2 | | --:value;
|
|
3 | |
|
|
4 | | --important:value!important;
|
|
... |
|
|
47 | | --delim-not-top-level: (!);
|
|
48 | | }
|
|
| |_^
|
|
|
|
error: QualifiedRule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | / :root {
|
|
2 | | --:value;
|
|
3 | |
|
|
4 | | --important:value!important;
|
|
... |
|
|
47 | | --delim-not-top-level: (!);
|
|
48 | | }
|
|
| |_^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | :root {
|
|
| ^^^^^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | :root {
|
|
| ^^^^^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | :root {
|
|
| ^^^^^
|
|
|
|
error: SubclassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | :root {
|
|
| ^^^^^
|
|
|
|
error: PseudoClassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:1
|
|
|
|
|
1 | :root {
|
|
| ^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:2
|
|
|
|
|
1 | :root {
|
|
| ^^^^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:1:7
|
|
|
|
|
1 | :root {
|
|
| _______^
|
|
2 | | --:value;
|
|
3 | |
|
|
4 | | --important:value!important;
|
|
... |
|
|
47 | | --delim-not-top-level: (!);
|
|
48 | | }
|
|
| |_^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:2:5
|
|
|
|
|
2 | --:value;
|
|
| ^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:2:5
|
|
|
|
|
2 | --:value;
|
|
| ^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:2:8
|
|
|
|
|
2 | --:value;
|
|
| ^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:2:8
|
|
|
|
|
2 | --:value;
|
|
| ^^^^^
|
|
|
|
error: Ident { value: Atom('value' type=inline), raw: Atom('value' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:2:8
|
|
|
|
|
2 | --:value;
|
|
| ^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:4:5
|
|
|
|
|
4 | --important:value!important;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:4:5
|
|
|
|
|
4 | --important:value!important;
|
|
| ^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:4:17
|
|
|
|
|
4 | --important:value!important;
|
|
| ^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:4:17
|
|
|
|
|
4 | --important:value!important;
|
|
| ^^^^^
|
|
|
|
error: Ident { value: Atom('value' type=inline), raw: Atom('value' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:4:17
|
|
|
|
|
4 | --important:value!important;
|
|
| ^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:5:5
|
|
|
|
|
5 | --important1: value!important;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:5:5
|
|
|
|
|
5 | --important1: value!important;
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:5:18
|
|
|
|
|
5 | --important1: value!important;
|
|
| ^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:5:18
|
|
|
|
|
5 | --important1: value!important;
|
|
| ^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:5:18
|
|
|
|
|
5 | --important1: value!important;
|
|
| ^
|
|
|
|
error: Ident { value: Atom('value' type=inline), raw: Atom('value' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:5:19
|
|
|
|
|
5 | --important1: value!important;
|
|
| ^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:6:5
|
|
|
|
|
6 | --important2: value !important;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:6:5
|
|
|
|
|
6 | --important2: value !important;
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:6:18
|
|
|
|
|
6 | --important2: value !important;
|
|
| ^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:6:18
|
|
|
|
|
6 | --important2: value !important;
|
|
| ^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:6:18
|
|
|
|
|
6 | --important2: value !important;
|
|
| ^
|
|
|
|
error: Ident { value: Atom('value' type=inline), raw: Atom('value' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:6:19
|
|
|
|
|
6 | --important2: value !important;
|
|
| ^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:6:24
|
|
|
|
|
6 | --important2: value !important;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:7:5
|
|
|
|
|
7 | --important3:value !important;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:7:5
|
|
|
|
|
7 | --important3:value !important;
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:7:18
|
|
|
|
|
7 | --important3:value !important;
|
|
| ^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:7:18
|
|
|
|
|
7 | --important3:value !important;
|
|
| ^^^^^^
|
|
|
|
error: Ident { value: Atom('value' type=inline), raw: Atom('value' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:7:18
|
|
|
|
|
7 | --important3:value !important;
|
|
| ^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:7:23
|
|
|
|
|
7 | --important3:value !important;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:5
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:5
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:18
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:18
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:18
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^
|
|
|
|
error: Function { value: Atom('calc' type=inline), raw: Atom('calc' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:19
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^^^^^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:24
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:8:25
|
|
|
|
|
8 | --important4: calc(1)!important;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:10:5
|
|
|
|
|
10 | --empty: ;
|
|
| ^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:10:5
|
|
|
|
|
10 | --empty: ;
|
|
| ^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:10:13
|
|
|
|
|
10 | --empty: ;
|
|
| ^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:10:13
|
|
|
|
|
10 | --empty: ;
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:10:13
|
|
|
|
|
10 | --empty: ;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:11:5
|
|
|
|
|
11 | --empty2: /**/;
|
|
| ^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:11:5
|
|
|
|
|
11 | --empty2: /**/;
|
|
| ^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:11:14
|
|
|
|
|
11 | --empty2: /**/;
|
|
| ^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:11:14
|
|
|
|
|
11 | --empty2: /**/;
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:11:14
|
|
|
|
|
11 | --empty2: /**/;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:12:5
|
|
|
|
|
12 | --empty3: !important;
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:12:5
|
|
|
|
|
12 | --empty3: !important;
|
|
| ^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:12:14
|
|
|
|
|
12 | --empty3: !important;
|
|
| ^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:12:14
|
|
|
|
|
12 | --empty3: !important;
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:12:14
|
|
|
|
|
12 | --empty3: !important;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:13:5
|
|
|
|
|
13 | --empty4:/**/ !important;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:13:5
|
|
|
|
|
13 | --empty4:/**/ !important;
|
|
| ^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:13:18
|
|
|
|
|
13 | --empty4:/**/ !important;
|
|
| ^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:13:18
|
|
|
|
|
13 | --empty4:/**/ !important;
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:13:18
|
|
|
|
|
13 | --empty4:/**/ !important;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:14:5
|
|
|
|
|
14 | --empty5:/* 1 */ /* 2 */;
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:14:5
|
|
|
|
|
14 | --empty5:/* 1 */ /* 2 */;
|
|
| ^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:14:21
|
|
|
|
|
14 | --empty5:/* 1 */ /* 2 */;
|
|
| ^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:14:21
|
|
|
|
|
14 | --empty5:/* 1 */ /* 2 */;
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:14:21
|
|
|
|
|
14 | --empty5:/* 1 */ /* 2 */;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:16:5
|
|
|
|
|
16 | --no-whitespace:ident;
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:16:5
|
|
|
|
|
16 | --no-whitespace:ident;
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:16:21
|
|
|
|
|
16 | --no-whitespace:ident;
|
|
| ^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:16:21
|
|
|
|
|
16 | --no-whitespace:ident;
|
|
| ^^^^^
|
|
|
|
error: Ident { value: Atom('ident' type=inline), raw: Atom('ident' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:16:21
|
|
|
|
|
16 | --no-whitespace:ident;
|
|
| ^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:17:5
|
|
|
|
|
17 | --number: 1;
|
|
| ^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:17:5
|
|
|
|
|
17 | --number: 1;
|
|
| ^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:17:14
|
|
|
|
|
17 | --number: 1;
|
|
| ^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:17:14
|
|
|
|
|
17 | --number: 1;
|
|
| ^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:17:14
|
|
|
|
|
17 | --number: 1;
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:17:15
|
|
|
|
|
17 | --number: 1;
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:18:5
|
|
|
|
|
18 | --unit: 100vw;
|
|
| ^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:18:5
|
|
|
|
|
18 | --unit: 100vw;
|
|
| ^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:18:12
|
|
|
|
|
18 | --unit: 100vw;
|
|
| ^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:18:12
|
|
|
|
|
18 | --unit: 100vw;
|
|
| ^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:18:12
|
|
|
|
|
18 | --unit: 100vw;
|
|
| ^
|
|
|
|
error: Dimension { value: 100.0, raw_value: Atom('100' type=inline), unit: Atom('vw' type=inline), raw_unit: Atom('vw' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:18:13
|
|
|
|
|
18 | --unit: 100vw;
|
|
| ^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:19:5
|
|
|
|
|
19 | --color: #06c;
|
|
| ^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:19:5
|
|
|
|
|
19 | --color: #06c;
|
|
| ^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:19:13
|
|
|
|
|
19 | --color: #06c;
|
|
| ^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:19:13
|
|
|
|
|
19 | --color: #06c;
|
|
| ^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:19:13
|
|
|
|
|
19 | --color: #06c;
|
|
| ^
|
|
|
|
error: Hash { is_id: false, value: Atom('06c' type=inline), raw: Atom('06c' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:19:14
|
|
|
|
|
19 | --color: #06c;
|
|
| ^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:5
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:5
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:16
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:16
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:16
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^
|
|
|
|
error: Function { value: Atom('calc' type=inline), raw: Atom('calc' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:17
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^^^^^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:22
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:23
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^
|
|
|
|
error: Delim { value: '+' }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:24
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:25
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:26
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:21:27
|
|
|
|
|
21 | --function: calc(1 + 1);
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:5
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:5
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:16
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:16
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:16
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^
|
|
|
|
error: Function { value: Atom('var' type=static), raw: Atom('var' type=static) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:17
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^^^^
|
|
|
|
error: Ident { value: Atom('--unit' type=inline), raw: Atom('--unit' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:21
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^^^^^^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:22:27
|
|
|
|
|
22 | --variable: var(--unit);
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:24:5
|
|
|
|
|
24 | --string: 'single quoted string';
|
|
| ^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:24:5
|
|
|
|
|
24 | --string: 'single quoted string';
|
|
| ^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:24:14
|
|
|
|
|
24 | --string: 'single quoted string';
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:24:14
|
|
|
|
|
24 | --string: 'single quoted string';
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:24:14
|
|
|
|
|
24 | --string: 'single quoted string';
|
|
| ^
|
|
|
|
error: Str { value: Atom('single quoted string' type=dynamic), raw: Atom(''single quoted string'' type=dynamic) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:24:15
|
|
|
|
|
24 | --string: 'single quoted string';
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:25:5
|
|
|
|
|
25 | --string: "double quoted string";
|
|
| ^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:25:5
|
|
|
|
|
25 | --string: "double quoted string";
|
|
| ^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:25:14
|
|
|
|
|
25 | --string: "double quoted string";
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:25:14
|
|
|
|
|
25 | --string: "double quoted string";
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:25:14
|
|
|
|
|
25 | --string: "double quoted string";
|
|
| ^
|
|
|
|
error: Str { value: Atom('double quoted string' type=dynamic), raw: Atom('"double quoted string"' type=dynamic) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:25:15
|
|
|
|
|
25 | --string: "double quoted string";
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:5
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:5
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:20
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:20
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:20
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:21
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:22
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:23
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:24
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: Num { value: 2.0, raw: Atom('2' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:25
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:26
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:27
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: Num { value: 3.0, raw: Atom('3' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:28
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:27:29
|
|
|
|
|
27 | --square-block: [1, 2, 3];
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:28:5
|
|
|
|
|
28 | --square-block1: [];
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:28:5
|
|
|
|
|
28 | --square-block1: [];
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:28:21
|
|
|
|
|
28 | --square-block1: [];
|
|
| ^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:28:21
|
|
|
|
|
28 | --square-block1: [];
|
|
| ^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:28:21
|
|
|
|
|
28 | --square-block1: [];
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:28:22
|
|
|
|
|
28 | --square-block1: [];
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:28:23
|
|
|
|
|
28 | --square-block1: [];
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:29:5
|
|
|
|
|
29 | --square-block2:[];
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:29:5
|
|
|
|
|
29 | --square-block2:[];
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:29:21
|
|
|
|
|
29 | --square-block2:[];
|
|
| ^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:29:21
|
|
|
|
|
29 | --square-block2:[];
|
|
| ^^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:29:21
|
|
|
|
|
29 | --square-block2:[];
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:29:22
|
|
|
|
|
29 | --square-block2:[];
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:5
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:5
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:19
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:19
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:19
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:20
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:21
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:22
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:23
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: Num { value: 2.0, raw: Atom('2' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:24
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:25
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:26
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: Num { value: 3.0, raw: Atom('3' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:27
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:30:28
|
|
|
|
|
30 | --round-block: (1, 2, 3);
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:31:5
|
|
|
|
|
31 | --round-block1: ();
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:31:5
|
|
|
|
|
31 | --round-block1: ();
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:31:20
|
|
|
|
|
31 | --round-block1: ();
|
|
| ^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:31:20
|
|
|
|
|
31 | --round-block1: ();
|
|
| ^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:31:20
|
|
|
|
|
31 | --round-block1: ();
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:31:21
|
|
|
|
|
31 | --round-block1: ();
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:31:22
|
|
|
|
|
31 | --round-block1: ();
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:32:5
|
|
|
|
|
32 | --round-block2:();
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:32:5
|
|
|
|
|
32 | --round-block2:();
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:32:20
|
|
|
|
|
32 | --round-block2:();
|
|
| ^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:32:20
|
|
|
|
|
32 | --round-block2:();
|
|
| ^^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:32:20
|
|
|
|
|
32 | --round-block2:();
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:32:21
|
|
|
|
|
32 | --round-block2:();
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:5
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:5
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:21
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:21
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:21
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:22
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:23
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:24
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:25
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: Num { value: 2.0, raw: Atom('2' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:26
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:27
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:28
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: Num { value: 3.0, raw: Atom('3' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:29
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:33:30
|
|
|
|
|
33 | --bracket-block: {1, 2, 3};
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:34:5
|
|
|
|
|
34 | --bracket-block1: {};
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:34:5
|
|
|
|
|
34 | --bracket-block1: {};
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:34:22
|
|
|
|
|
34 | --bracket-block1: {};
|
|
| ^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:34:22
|
|
|
|
|
34 | --bracket-block1: {};
|
|
| ^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:34:22
|
|
|
|
|
34 | --bracket-block1: {};
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:34:23
|
|
|
|
|
34 | --bracket-block1: {};
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:34:24
|
|
|
|
|
34 | --bracket-block1: {};
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:35:5
|
|
|
|
|
35 | --bracket-block2:{};
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:35:5
|
|
|
|
|
35 | --bracket-block2:{};
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:35:22
|
|
|
|
|
35 | --bracket-block2:{};
|
|
| ^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:35:22
|
|
|
|
|
35 | --bracket-block2:{};
|
|
| ^^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:35:22
|
|
|
|
|
35 | --bracket-block2:{};
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:35:23
|
|
|
|
|
35 | --bracket-block2:{};
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:5
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:5
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:12
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:12
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:12
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:13
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:14
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:15
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:16
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Str { value: Atom('2' type=inline), raw: Atom('"2"' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:17
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^^^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:20
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:21
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:22
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Str { value: Atom('three' type=inline), raw: Atom('"three"' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:23
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^^^^^^^
|
|
|
|
error: Colon
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:30
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:31
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:32
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Str { value: Atom('a' type=inline), raw: Atom('"a"' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:33
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^^^
|
|
|
|
error: Colon
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:36
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:37
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:38
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:39
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Comma
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:40
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:41
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:42
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Num { value: 4.0, raw: Atom('4' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:43
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:44
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:38:45
|
|
|
|
|
38 | --JSON: [1, "2", {"three": {"a":1}}, [4]];
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:5
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:5
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:18
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:18
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:18
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: Function { value: Atom('function' type=static), raw: Atom('function' type=static) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:19
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^^^^^^
|
|
|
|
error: Ident { value: Atom('rule' type=inline), raw: Atom('rule' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:28
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:32
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:33
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:34
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:35
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: Ident { value: Atom('console' type=inline), raw: Atom('console' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:36
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^^^^
|
|
|
|
error: Delim { value: '.' }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:43
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: Function { value: Atom('log' type=inline), raw: Atom('log' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:44
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^
|
|
|
|
error: Ident { value: Atom('rule' type=inline), raw: Atom('rule' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:48
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^^^^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:52
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:53
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:39:54
|
|
|
|
|
39 | --javascript: function(rule) { console.log(rule) };
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:41:5
|
|
|
|
|
41 | --CDO: <!--;
|
|
| ^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:41:5
|
|
|
|
|
41 | --CDO: <!--;
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:41:11
|
|
|
|
|
41 | --CDO: <!--;
|
|
| ^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:41:11
|
|
|
|
|
41 | --CDO: <!--;
|
|
| ^^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:41:11
|
|
|
|
|
41 | --CDO: <!--;
|
|
| ^
|
|
|
|
error: CDO
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:41:12
|
|
|
|
|
41 | --CDO: <!--;
|
|
| ^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:42:5
|
|
|
|
|
42 | --CDC: -->;
|
|
| ^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:42:5
|
|
|
|
|
42 | --CDC: -->;
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:42:11
|
|
|
|
|
42 | --CDC: -->;
|
|
| ^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:42:11
|
|
|
|
|
42 | --CDC: -->;
|
|
| ^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:42:11
|
|
|
|
|
42 | --CDC: -->;
|
|
| ^
|
|
|
|
error: CDC
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:42:12
|
|
|
|
|
42 | --CDC: -->;
|
|
| ^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:5
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:5
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:24
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:24
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:24
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:25
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:26
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:27
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:28
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:29
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:30
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:31
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:32
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:33
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:34
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:35
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:36
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:37
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:38
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:39
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:40
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:41
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:42
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:43
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:44
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:45
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:46
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:47
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:48
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:49
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:50
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: LBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:51
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RBracket
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:52
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:44:53
|
|
|
|
|
44 | --complex-balanced:{[({()})()()[({})]]}[{()}]([]);
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:5
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:5
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:22
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:22
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: LBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:22
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^
|
|
|
|
error: Delim { value: '!' }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:23
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^
|
|
|
|
error: Ident { value: Atom('important' type=static), raw: Atom('important' type=static) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:24
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^^^^^^^^^
|
|
|
|
error: RBrace
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:45:33
|
|
|
|
|
45 | --fake-important:{!important};
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:5
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:5
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:31
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:31
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:31
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:32
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^
|
|
|
|
error: Semi
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:33
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:46:34
|
|
|
|
|
46 | --semicolon-not-top-level: (;);
|
|
| ^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:5
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:5
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:27
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^^^^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:27
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^^^^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:27
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^
|
|
|
|
error: LParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:28
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^
|
|
|
|
error: Delim { value: '!' }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:29
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^
|
|
|
|
error: RParen
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:47:30
|
|
|
|
|
47 | --delim-not-top-level: (!);
|
|
| ^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:1
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: QualifiedRule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:1
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:1
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:1
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:1
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^
|
|
|
|
error: SubclassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:1
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^
|
|
|
|
error: PseudoClassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:1
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:2
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:6
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:7
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:7
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:11
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:11
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^
|
|
|
|
error: Num { value: 1.0, raw: Atom('1' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:50:11
|
|
|
|
|
50 | :root{--a:1}
|
|
| ^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:1
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: QualifiedRule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:1
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:1
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:1
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:1
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^
|
|
|
|
error: SubclassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:1
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^
|
|
|
|
error: PseudoClassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:1
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:2
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:7
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:8
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:8
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:14
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:14
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^
|
|
|
|
error: WhiteSpace { value: Atom(' ' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:51:14
|
|
|
|
|
51 | :root {--foo: }
|
|
| ^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:1
|
|
|
|
|
52 | / :root {
|
|
53 | | --foo:
|
|
54 | | }
|
|
| |_^
|
|
|
|
error: QualifiedRule
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:1
|
|
|
|
|
52 | / :root {
|
|
53 | | --foo:
|
|
54 | | }
|
|
| |_^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:1
|
|
|
|
|
52 | :root {
|
|
| ^^^^^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:1
|
|
|
|
|
52 | :root {
|
|
| ^^^^^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:1
|
|
|
|
|
52 | :root {
|
|
| ^^^^^
|
|
|
|
error: SubclassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:1
|
|
|
|
|
52 | :root {
|
|
| ^^^^^
|
|
|
|
error: PseudoClassSelector
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:1
|
|
|
|
|
52 | :root {
|
|
| ^^^^^
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:2
|
|
|
|
|
52 | :root {
|
|
| ^^^^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:52:7
|
|
|
|
|
52 | :root {
|
|
| _______^
|
|
53 | | --foo:
|
|
54 | | }
|
|
| |_^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:53:5
|
|
|
|
|
53 | / --foo:
|
|
54 | | }
|
|
| |_
|
|
|
|
error: Ident
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:53:5
|
|
|
|
|
53 | --foo:
|
|
| ^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:53:11
|
|
|
|
|
53 | --foo:
|
|
| ___________^
|
|
54 | | }
|
|
| |_
|
|
|
|
error: Tokens
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:53:11
|
|
|
|
|
53 | --foo:
|
|
| ___________^
|
|
54 | | }
|
|
| |_
|
|
|
|
error: WhiteSpace { value: Atom('
|
|
' type=inline) }
|
|
--> $DIR/tests/fixture/value/custom-property/input.css:53:11
|
|
|
|
|
53 | --foo:
|
|
| ___________^
|
|
54 | | }
|
|
| |_
|
|
|