swc/css/parser/tests/fixture/function/url/span.rust-debug
Alexander Akait 6863d9624e
fix(css/parser): Fix parsing of funxtion named url (#2350)
swc_css_parser:
 - Make `url` function calls to not contain space in arguments.
2021-10-06 04:39:54 +09:00

706 lines
18 KiB
Plaintext

error: Stylesheet
--> $DIR/tests/fixture/function/url/input.css:1:1
|
1 | / a {
2 | | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
3 | | background-image: url("./image (1).jpg");
4 | | background-image: url('./image (1).jpg');
... |
20 | | background-image: url( ./image.png );
21 | | }
| |_^
error: Rule
--> $DIR/tests/fixture/function/url/input.css:1:1
|
1 | / a {
2 | | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
3 | | background-image: url("./image (1).jpg");
4 | | background-image: url('./image (1).jpg');
... |
20 | | background-image: url( ./image.png );
21 | | }
| |_^
error: StyleRule
--> $DIR/tests/fixture/function/url/input.css:1:1
|
1 | / a {
2 | | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
3 | | background-image: url("./image (1).jpg");
4 | | background-image: url('./image (1).jpg');
... |
20 | | background-image: url( ./image.png );
21 | | }
| |_^
error: ComplexSelector
--> $DIR/tests/fixture/function/url/input.css:1:1
|
1 | a {
| ^
error: CompoundSelector
--> $DIR/tests/fixture/function/url/input.css:1:1
|
1 | a {
| ^
error: NamespacedName
--> $DIR/tests/fixture/function/url/input.css:1:1
|
1 | a {
| ^
error: Text
--> $DIR/tests/fixture/function/url/input.css:1:1
|
1 | a {
| ^
error: DeclBlock
--> $DIR/tests/fixture/function/url/input.css:1:3
|
1 | a {
| ___^
2 | | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
3 | | background-image: url("./image (1).jpg");
4 | | background-image: url('./image (1).jpg');
... |
20 | | background-image: url( ./image.png );
21 | | }
| |_^
error: Property
--> $DIR/tests/fixture/function/url/input.css:2:5
|
2 | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:2:5
|
2 | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:2:23
|
2 | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: UrlValue
--> $DIR/tests/fixture/function/url/input.css:2:23
|
2 | background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:3:5
|
3 | background-image: url("./image (1).jpg");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:3:5
|
3 | background-image: url("./image (1).jpg");
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:3:23
|
3 | background-image: url("./image (1).jpg");
| ^^^^^^^^^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:3:23
|
3 | background-image: url("./image (1).jpg");
| ^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:3:23
|
3 | background-image: url("./image (1).jpg");
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:3:27
|
3 | background-image: url("./image (1).jpg");
| ^^^^^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:3:27
|
3 | background-image: url("./image (1).jpg");
| ^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:4:5
|
4 | background-image: url('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:4:5
|
4 | background-image: url('./image (1).jpg');
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:4:23
|
4 | background-image: url('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:4:23
|
4 | background-image: url('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:4:23
|
4 | background-image: url('./image (1).jpg');
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:4:27
|
4 | background-image: url('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:4:27
|
4 | background-image: url('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:5:5
|
5 | background-image: URL('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:5:5
|
5 | background-image: URL('./image (1).jpg');
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:5:23
|
5 | background-image: URL('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:5:23
|
5 | background-image: URL('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:5:23
|
5 | background-image: URL('./image (1).jpg');
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:5:27
|
5 | background-image: URL('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:5:27
|
5 | background-image: URL('./image (1).jpg');
| ^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:6:5
|
6 | background-image: url( './image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:6:5
|
6 | background-image: url( './image (1).jpg');
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:6:23
|
6 | background-image: url( './image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:6:23
|
6 | background-image: url( './image (1).jpg');
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:6:23
|
6 | background-image: url( './image (1).jpg');
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:6:30
|
6 | background-image: url( './image (1).jpg');
| ^^^^^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:6:30
|
6 | background-image: url( './image (1).jpg');
| ^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:7:5
|
7 | background-image: url('./image (1).jpg' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:7:5
|
7 | background-image: url('./image (1).jpg' );
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:7:23
|
7 | background-image: url('./image (1).jpg' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:7:23
|
7 | background-image: url('./image (1).jpg' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:7:23
|
7 | background-image: url('./image (1).jpg' );
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:7:27
|
7 | background-image: url('./image (1).jpg' );
| ^^^^^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:7:27
|
7 | background-image: url('./image (1).jpg' );
| ^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:8:5
|
8 | background-image: url( './image (1).jpg' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:8:5
|
8 | background-image: url( './image (1).jpg' );
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:8:23
|
8 | background-image: url( './image (1).jpg' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:8:23
|
8 | background-image: url( './image (1).jpg' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:8:23
|
8 | background-image: url( './image (1).jpg' );
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:8:30
|
8 | background-image: url( './image (1).jpg' );
| ^^^^^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:8:30
|
8 | background-image: url( './image (1).jpg' );
| ^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:9:5
|
9 | / background-image: url(
10 | | './image (1).jpg'
11 | | );
| |_____^
error: Text
--> $DIR/tests/fixture/function/url/input.css:9:5
|
9 | background-image: url(
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:9:23
|
9 | background-image: url(
| _______________________^
10 | | './image (1).jpg'
11 | | );
| |_____^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:9:23
|
9 | background-image: url(
| _______________________^
10 | | './image (1).jpg'
11 | | );
| |_____^
error: Text
--> $DIR/tests/fixture/function/url/input.css:9:23
|
9 | background-image: url(
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:10:5
|
10 | './image (1).jpg'
| ^^^^^^^^^^^^^^^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:10:5
|
10 | './image (1).jpg'
| ^^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:12:5
|
12 | background-image: url();
| ^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:12:5
|
12 | background-image: url();
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:12:23
|
12 | background-image: url();
| ^^^^^
error: UrlValue
--> $DIR/tests/fixture/function/url/input.css:12:23
|
12 | background-image: url();
| ^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:13:5
|
13 | background-image: url( );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:13:5
|
13 | background-image: url( );
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:13:23
|
13 | background-image: url( );
| ^^^^^^^^
error: UrlValue
--> $DIR/tests/fixture/function/url/input.css:13:23
|
13 | background-image: url( );
| ^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:14:5
|
14 | background-image: url("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:14:5
|
14 | background-image: url("");
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:14:23
|
14 | background-image: url("");
| ^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:14:23
|
14 | background-image: url("");
| ^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:14:23
|
14 | background-image: url("");
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:14:27
|
14 | background-image: url("");
| ^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:14:27
|
14 | background-image: url("");
| ^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:15:5
|
15 | background-image: url( "" );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:15:5
|
15 | background-image: url( "" );
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:15:23
|
15 | background-image: url( "" );
| ^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:15:23
|
15 | background-image: url( "" );
| ^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:15:23
|
15 | background-image: url( "" );
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:15:30
|
15 | background-image: url( "" );
| ^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:15:30
|
15 | background-image: url( "" );
| ^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:16:5
|
16 | background-image: url('');
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:16:5
|
16 | background-image: url('');
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:16:23
|
16 | background-image: url('');
| ^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:16:23
|
16 | background-image: url('');
| ^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:16:23
|
16 | background-image: url('');
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:16:27
|
16 | background-image: url('');
| ^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:16:27
|
16 | background-image: url('');
| ^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:17:5
|
17 | background-image: url( '' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:17:5
|
17 | background-image: url( '' );
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:17:23
|
17 | background-image: url( '' );
| ^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:17:23
|
17 | background-image: url( '' );
| ^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:17:23
|
17 | background-image: url( '' );
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:17:30
|
17 | background-image: url( '' );
| ^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:17:30
|
17 | background-image: url( '' );
| ^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:18:5
|
18 | background-image: url( ' ' );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:18:5
|
18 | background-image: url( ' ' );
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:18:23
|
18 | background-image: url( ' ' );
| ^^^^^^^^^^^^^^
error: FnValue
--> $DIR/tests/fixture/function/url/input.css:18:23
|
18 | background-image: url( ' ' );
| ^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:18:23
|
18 | background-image: url( ' ' );
| ^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:18:30
|
18 | background-image: url( ' ' );
| ^^^
error: Str
--> $DIR/tests/fixture/function/url/input.css:18:30
|
18 | background-image: url( ' ' );
| ^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:19:5
|
19 | background-image: url(./image.png);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:19:5
|
19 | background-image: url(./image.png);
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:19:23
|
19 | background-image: url(./image.png);
| ^^^^^^^^^^^^^^^^
error: UrlValue
--> $DIR/tests/fixture/function/url/input.css:19:23
|
19 | background-image: url(./image.png);
| ^^^^^^^^^^^^^^^^
error: Property
--> $DIR/tests/fixture/function/url/input.css:20:5
|
20 | background-image: url( ./image.png );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Text
--> $DIR/tests/fixture/function/url/input.css:20:5
|
20 | background-image: url( ./image.png );
| ^^^^^^^^^^^^^^^^
error: Value
--> $DIR/tests/fixture/function/url/input.css:20:23
|
20 | background-image: url( ./image.png );
| ^^^^^^^^^^^^^^^^^^^^^^
error: UrlValue
--> $DIR/tests/fixture/function/url/input.css:20:23
|
20 | background-image: url( ./image.png );
| ^^^^^^^^^^^^^^^^^^^^^^