mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
436 lines
9.0 KiB
Plaintext
436 lines
9.0 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:1:1]
|
|
1 | ,-> <!doctype html>
|
|
2 | | <html lang="en">
|
|
3 | | <head>
|
|
4 | | <title>Document</title>
|
|
5 | | </head>
|
|
6 | | <body>
|
|
7 | |
|
|
8 | | <label for="story">Tell us your story:</label>
|
|
9 | |
|
|
10 | | <textarea id="story" name="story"
|
|
11 | | rows="5" cols="33">
|
|
12 | |
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | |
|
|
21 | | </textarea>
|
|
22 | |
|
|
23 | | </body>
|
|
24 | `-> </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
2 | <html lang="en">
|
|
`----
|
|
|
|
x DocumentType
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
2 | <html lang="en">
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:1:1]
|
|
1 | <!doctype html>
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <title>Document</title>
|
|
5 | | </head>
|
|
6 | | <body>
|
|
7 | |
|
|
8 | | <label for="story">Tell us your story:</label>
|
|
9 | |
|
|
10 | | <textarea id="story" name="story"
|
|
11 | | rows="5" cols="33">
|
|
12 | |
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | |
|
|
21 | | </textarea>
|
|
22 | |
|
|
23 | | </body>
|
|
24 | `-> </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:1:1]
|
|
1 | <!doctype html>
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <title>Document</title>
|
|
5 | | </head>
|
|
6 | | <body>
|
|
7 | |
|
|
8 | | <label for="story">Tell us your story:</label>
|
|
9 | |
|
|
10 | | <textarea id="story" name="story"
|
|
11 | | rows="5" cols="33">
|
|
12 | |
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | |
|
|
21 | | </textarea>
|
|
22 | |
|
|
23 | | </body>
|
|
24 | `-> </html>
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:1:1]
|
|
1 | <!doctype html>
|
|
2 | <html lang="en">
|
|
: ^^^^^^^^^
|
|
3 | <head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:2:1]
|
|
2 | <html lang="en">
|
|
3 | ,-> <head>
|
|
4 | | <title>Document</title>
|
|
5 | `-> </head>
|
|
6 | <body>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:2:1]
|
|
2 | <html lang="en">
|
|
3 | ,-> <head>
|
|
4 | | <title>Document</title>
|
|
5 | `-> </head>
|
|
6 | <body>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:2:1]
|
|
2 | <html lang="en">
|
|
3 | ,-> <head>
|
|
4 | `-> <title>Document</title>
|
|
5 | </head>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:2:1]
|
|
2 | <html lang="en">
|
|
3 | ,-> <head>
|
|
4 | `-> <title>Document</title>
|
|
5 | </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:3:1]
|
|
3 | <head>
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
5 | </head>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:3:1]
|
|
3 | <head>
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
5 | </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:3:1]
|
|
3 | <head>
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
5 | </head>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:3:1]
|
|
3 | <head>
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
5 | </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:3:1]
|
|
3 | <head>
|
|
4 | <title>Document</title>
|
|
: ^
|
|
5 | </head>
|
|
6 | <body>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:3:1]
|
|
3 | <head>
|
|
4 | <title>Document</title>
|
|
: ^
|
|
5 | </head>
|
|
6 | <body>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:4:1]
|
|
4 | <title>Document</title>
|
|
5 | </head>
|
|
: ^
|
|
6 | <body>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:4:1]
|
|
4 | <title>Document</title>
|
|
5 | </head>
|
|
: ^
|
|
6 | <body>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:5:1]
|
|
5 | </head>
|
|
6 | ,-> <body>
|
|
7 | |
|
|
8 | | <label for="story">Tell us your story:</label>
|
|
9 | |
|
|
10 | | <textarea id="story" name="story"
|
|
11 | | rows="5" cols="33">
|
|
12 | |
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | |
|
|
21 | | </textarea>
|
|
22 | |
|
|
23 | `-> </body>
|
|
24 | </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:5:1]
|
|
5 | </head>
|
|
6 | ,-> <body>
|
|
7 | |
|
|
8 | | <label for="story">Tell us your story:</label>
|
|
9 | |
|
|
10 | | <textarea id="story" name="story"
|
|
11 | | rows="5" cols="33">
|
|
12 | |
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | |
|
|
21 | | </textarea>
|
|
22 | |
|
|
23 | `-> </body>
|
|
24 | </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:5:1]
|
|
5 | </head>
|
|
6 | ,-> <body>
|
|
7 | `->
|
|
8 | <label for="story">Tell us your story:</label>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:5:1]
|
|
5 | </head>
|
|
6 | ,-> <body>
|
|
7 | `->
|
|
8 | <label for="story">Tell us your story:</label>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:7:1]
|
|
7 |
|
|
8 | <label for="story">Tell us your story:</label>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:7:1]
|
|
7 |
|
|
8 | <label for="story">Tell us your story:</label>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:7:1]
|
|
7 |
|
|
8 | <label for="story">Tell us your story:</label>
|
|
: ^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:7:1]
|
|
7 |
|
|
8 | <label for="story">Tell us your story:</label>
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:7:1]
|
|
7 |
|
|
8 | <label for="story">Tell us your story:</label>
|
|
: ^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:7:1]
|
|
7 |
|
|
8 | ,-> <label for="story">Tell us your story:</label>
|
|
9 | `->
|
|
10 | <textarea id="story" name="story"
|
|
11 | rows="5" cols="33">
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:7:1]
|
|
7 |
|
|
8 | ,-> <label for="story">Tell us your story:</label>
|
|
9 | `->
|
|
10 | <textarea id="story" name="story"
|
|
11 | rows="5" cols="33">
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:9:1]
|
|
9 |
|
|
10 | ,-> <textarea id="story" name="story"
|
|
11 | | rows="5" cols="33">
|
|
12 | |
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | |
|
|
21 | `-> </textarea>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:9:1]
|
|
9 |
|
|
10 | ,-> <textarea id="story" name="story"
|
|
11 | | rows="5" cols="33">
|
|
12 | |
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | |
|
|
21 | `-> </textarea>
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:9:1]
|
|
9 |
|
|
10 | <textarea id="story" name="story"
|
|
: ^^^^^^^^^^
|
|
11 | rows="5" cols="33">
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:9:1]
|
|
9 |
|
|
10 | <textarea id="story" name="story"
|
|
: ^^^^^^^^^^^^
|
|
11 | rows="5" cols="33">
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:10:1]
|
|
10 | <textarea id="story" name="story"
|
|
11 | rows="5" cols="33">
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:10:1]
|
|
10 | <textarea id="story" name="story"
|
|
11 | rows="5" cols="33">
|
|
: ^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:11:1]
|
|
11 | rows="5" cols="33">
|
|
12 | ,->
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | `->
|
|
21 | </textarea>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:11:1]
|
|
11 | rows="5" cols="33">
|
|
12 | ,->
|
|
13 | |
|
|
14 | |
|
|
15 | | test
|
|
16 | | test
|
|
17 | | test
|
|
18 | |
|
|
19 | |
|
|
20 | `->
|
|
21 | </textarea>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:20:1]
|
|
20 |
|
|
21 | ,-> </textarea>
|
|
22 | |
|
|
23 | `-> </body>
|
|
24 | </html>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/textarea/input.html:20:1]
|
|
20 |
|
|
21 | ,-> </textarea>
|
|
22 | |
|
|
23 | `-> </body>
|
|
24 | </html>
|
|
`----
|