swc/crates/swc_html_parser/tests/fixture/element/colgroup/span.rust-debug

646 lines
17 KiB
Plaintext
Raw Normal View History

x Document
,-[$DIR/tests/fixture/element/colgroup/input.html:1:1]
1 | ,-> <!doctype html>
2 | | <html lang="en">
3 | | <head>
4 | | <title>Document</title>
5 | | </head>
6 | | <body>
7 | | <table>
8 | | <caption>Superheros and sidekicks</caption>
9 | | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | | <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | | </tr>
17 | | </table>
18 | | </body>
19 | `-> </html>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:1:1]
1 | <!doctype html>
: ^^^^^^^^^^^^^^^
`----
x DocumentType
,-[$DIR/tests/fixture/element/colgroup/input.html:1:1]
1 | <!doctype html>
: ^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:2:1]
2 | ,-> <html lang="en">
3 | | <head>
4 | | <title>Document</title>
5 | | </head>
6 | | <body>
7 | | <table>
8 | | <caption>Superheros and sidekicks</caption>
9 | | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | | <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | | </tr>
17 | | </table>
18 | | </body>
19 | `-> </html>
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:2:1]
2 | ,-> <html lang="en">
3 | | <head>
4 | | <title>Document</title>
5 | | </head>
6 | | <body>
7 | | <table>
8 | | <caption>Superheros and sidekicks</caption>
9 | | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | | <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | | </tr>
17 | | </table>
18 | | </body>
19 | `-> </html>
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:2:1]
2 | <html lang="en">
: ^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:3:1]
3 | ,-> <head>
4 | | <title>Document</title>
5 | `-> </head>
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:3:1]
3 | ,-> <head>
4 | | <title>Document</title>
5 | `-> </head>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:3:1]
3 | ,-> <head>
4 | `-> <title>Document</title>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:3:1]
3 | ,-> <head>
4 | `-> <title>Document</title>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:4:5]
4 | <title>Document</title>
: ^
5 | </head>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:4:5]
4 | <title>Document</title>
: ^
5 | </head>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:5:1]
5 | </head>
: ^
6 | <body>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:5:1]
5 | </head>
: ^
6 | <body>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:6:1]
6 | ,-> <body>
7 | | <table>
8 | | <caption>Superheros and sidekicks</caption>
9 | | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | | <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | | </tr>
17 | | </table>
18 | `-> </body>
19 | </html>
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:6:1]
6 | ,-> <body>
7 | | <table>
8 | | <caption>Superheros and sidekicks</caption>
9 | | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | | <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | | </tr>
17 | | </table>
18 | `-> </body>
19 | </html>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:6:1]
6 | <body>
: ^
7 | <table>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:6:1]
6 | <body>
: ^
7 | <table>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:7:1]
7 | ,-> <table>
8 | | <caption>Superheros and sidekicks</caption>
9 | | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | | <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | | </tr>
17 | `-> </table>
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:7:1]
7 | ,-> <table>
8 | | <caption>Superheros and sidekicks</caption>
9 | | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | | <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | | </tr>
17 | `-> </table>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:7:1]
7 | ,-> <table>
8 | `-> <caption>Superheros and sidekicks</caption>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:7:1]
7 | ,-> <table>
8 | `-> <caption>Superheros and sidekicks</caption>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:8:5]
8 | <caption>Superheros and sidekicks</caption>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:8:5]
8 | <caption>Superheros and sidekicks</caption>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:8:5]
8 | <caption>Superheros and sidekicks</caption>
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:8:5]
8 | <caption>Superheros and sidekicks</caption>
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:8:5]
8 | ,-> <caption>Superheros and sidekicks</caption>
9 | `-> <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:8:5]
8 | ,-> <caption>Superheros and sidekicks</caption>
9 | `-> <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
: ^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | ,-> <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | `-> <tr>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:9:5]
9 | ,-> <colgroup><col><col span="2" class="batman"><col span="2" class="flash"></colgroup>
10 | `-> <tr>
`----
x Child
x Element
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:10:5]
10 | ,-> <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | `-> </tr>
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:10:5]
10 | ,-> <tr>
11 | | <td> </td>
12 | | <th scope="col">Batman</th>
13 | | <th scope="col">Robin</th>
14 | | <th scope="col">The Flash</th>
15 | | <th scope="col">Kid Flash</th>
16 | `-> </tr>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:10:5]
10 | ,-> <tr>
11 | `-> <td> </td>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:10:5]
10 | ,-> <tr>
11 | `-> <td> </td>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:11:9]
11 | <td> </td>
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:11:9]
11 | <td> </td>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:11:9]
11 | <td> </td>
: ^^
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:11:9]
11 | <td> </td>
: ^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:11:9]
11 | ,-> <td> </td>
12 | `-> <th scope="col">Batman</th>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:11:9]
11 | ,-> <td> </td>
12 | `-> <th scope="col">Batman</th>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:12:9]
12 | <th scope="col">Batman</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:12:9]
12 | <th scope="col">Batman</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:12:9]
12 | <th scope="col">Batman</th>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:12:9]
12 | <th scope="col">Batman</th>
: ^^^^^^
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:12:9]
12 | <th scope="col">Batman</th>
: ^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:12:9]
12 | ,-> <th scope="col">Batman</th>
13 | `-> <th scope="col">Robin</th>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:12:9]
12 | ,-> <th scope="col">Batman</th>
13 | `-> <th scope="col">Robin</th>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:13:9]
13 | <th scope="col">Robin</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:13:9]
13 | <th scope="col">Robin</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:13:9]
13 | <th scope="col">Robin</th>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:13:9]
13 | <th scope="col">Robin</th>
: ^^^^^
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:13:9]
13 | <th scope="col">Robin</th>
: ^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:13:9]
13 | ,-> <th scope="col">Robin</th>
14 | `-> <th scope="col">The Flash</th>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:13:9]
13 | ,-> <th scope="col">Robin</th>
14 | `-> <th scope="col">The Flash</th>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:14:9]
14 | <th scope="col">The Flash</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:14:9]
14 | <th scope="col">The Flash</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:14:9]
14 | <th scope="col">The Flash</th>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:14:9]
14 | <th scope="col">The Flash</th>
: ^^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:14:9]
14 | <th scope="col">The Flash</th>
: ^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:14:9]
14 | ,-> <th scope="col">The Flash</th>
15 | `-> <th scope="col">Kid Flash</th>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:14:9]
14 | ,-> <th scope="col">The Flash</th>
15 | `-> <th scope="col">Kid Flash</th>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:15:9]
15 | <th scope="col">Kid Flash</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/element/colgroup/input.html:15:9]
15 | <th scope="col">Kid Flash</th>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Attribute
,-[$DIR/tests/fixture/element/colgroup/input.html:15:9]
15 | <th scope="col">Kid Flash</th>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:15:9]
15 | <th scope="col">Kid Flash</th>
: ^^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:15:9]
15 | <th scope="col">Kid Flash</th>
: ^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:15:9]
15 | ,-> <th scope="col">Kid Flash</th>
16 | `-> </tr>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:15:9]
15 | ,-> <th scope="col">Kid Flash</th>
16 | `-> </tr>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:16:5]
2022-06-04 12:33:25 +03:00
16 | </tr>
: ^
17 | </table>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:16:5]
2022-06-04 12:33:25 +03:00
16 | </tr>
: ^
17 | </table>
`----
x Child
,-[$DIR/tests/fixture/element/colgroup/input.html:17:1]
17 | ,-> </table>
18 | `-> </body>
19 | </html>
`----
x Text
,-[$DIR/tests/fixture/element/colgroup/input.html:17:1]
17 | ,-> </table>
18 | `-> </body>
19 | </html>
`----