mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
0b76d29ae4
swc_css_ast: - Add `SelectorLsit`. - Use `SelectorList` instead of `Vec<ComplexSelector>`.
169 lines
4.8 KiB
Plaintext
169 lines
4.8 KiB
Plaintext
error: Stylesheet
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: SelectorList
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Block
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:3
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Declaration
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:5
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:5
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: FnValue
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:21
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:21
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:26
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:26
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:29
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:29
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:33
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:33
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:35
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:35
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:37
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:37
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:39
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:39
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^
|
|
|