swc/css/parser/tests/fixture/stylis/comma/01/span.rust-debug
강동윤 c05a724d84
feat(css): Port stylis (#2131)
swc_css_ast:
 - Add `Value::Comma`.

swc_css_parser:
 - Implement more `Parse<T>`.
 - Fix parsing of values separated with comma.

swc_css_codegen:
 - Fix escaping.
 - Fix codegen of `!important`.

swc_stylis:
 - Port prefixer.
2021-08-23 12:42:13 +00:00

154 lines
3.6 KiB
Plaintext

error: Stylesheet
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:1
|
1 | / a {
2 | | cursor: image-set(url(foo.jpg) 2x), pointer;
3 | | }
| |__^
error: Rule
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:1
|
1 | / a {
2 | | cursor: image-set(url(foo.jpg) 2x), pointer;
3 | | }
| |_^
error: StyleRule
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:1
|
1 | / a {
2 | | cursor: image-set(url(foo.jpg) 2x), pointer;
3 | | }
| |_^
error: ComplexSelector
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:1
|
1 | a {
| ^
error: CompoundSelector
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:1
|
1 | a {
| ^
error: NamespacedName
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:1
|
1 | a {
| ^
error: Text
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:1
|
1 | a {
| ^
error: DeclBlock
--> $DIR/tests/fixture/stylis/comma/01/input.css:1:3
|
1 | a {
| ___^
2 | | cursor: image-set(url(foo.jpg) 2x), pointer;
3 | | }
| |_^
error: Property
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:5
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:5
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^
error: Value
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:12
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:13
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:13
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:13
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^
error: Value
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:23
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^^^^
error: SpaceValues
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:23
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:23
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^
error: UrlValue
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:23
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:36
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^
error: UnitValue
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:36
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^
error: Num
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:36
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^
error: Unit
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:37
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^
error: Value
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:41
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^
error: Text
--> $DIR/tests/fixture/stylis/comma/01/input.css:2:41
|
2 | cursor: image-set(url(foo.jpg) 2x), pointer;
| ^^^^^^^