swc/crates/swc_html_parser/tests/fixture/comment/basic/span.rust-debug
2022-04-25 23:45:14 +00:00

268 lines
6.3 KiB
Plaintext

x Document
,-[$DIR/tests/fixture/comment/basic/input.html:1:1]
1 | ,-> <!-- test -->
2 | |
3 | | <!-- foo --><div>baz</div><!-- bar
4 | |
5 | | moo -->
6 | | <script><!-- alert(1) --></script>
7 | | <script>alert('<!--')</script>
8 | | <script>alert('<!-- foo -->')</script>
9 | `-> <script>alert('-->')</script>
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:1:1]
1 | <!-- test -->
: ^^^^^^^^^^^^^
`----
x Comment
,-[$DIR/tests/fixture/comment/basic/input.html:1:1]
1 | <!-- test -->
: ^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | <!-- foo --><div>baz</div><!-- bar
: ^^^^^^^^^^^^
`----
x Comment
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | <!-- foo --><div>baz</div><!-- bar
: ^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:1:1]
1 | ,-> <!-- test -->
2 | |
3 | | <!-- foo --><div>baz</div><!-- bar
4 | |
5 | | moo -->
6 | | <script><!-- alert(1) --></script>
7 | | <script>alert('<!--')</script>
8 | | <script>alert('<!-- foo -->')</script>
9 | `-> <script>alert('-->')</script>
`----
x Element
,-[$DIR/tests/fixture/comment/basic/input.html:1:1]
1 | ,-> <!-- test -->
2 | |
3 | | <!-- foo --><div>baz</div><!-- bar
4 | |
5 | | moo -->
6 | | <script><!-- alert(1) --></script>
7 | | <script>alert('<!--')</script>
8 | | <script>alert('<!-- foo -->')</script>
9 | `-> <script>alert('-->')</script>
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:1:1]
1 | ,-> <!-- test -->
2 | |
3 | `-> <!-- foo --><div>baz</div><!-- bar
`----
x Element
,-[$DIR/tests/fixture/comment/basic/input.html:1:1]
1 | ,-> <!-- test -->
2 | |
3 | `-> <!-- foo --><div>baz</div><!-- bar
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | <!-- foo --><div>baz</div><!-- bar
: ^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | <!-- foo --><div>baz</div><!-- bar
: ^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | <!-- foo --><div>baz</div><!-- bar
: ^^^
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | <!-- foo --><div>baz</div><!-- bar
: ^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | ,-> <!-- foo --><div>baz</div><!-- bar
4 | |
5 | `-> moo -->
`----
x Comment
,-[$DIR/tests/fixture/comment/basic/input.html:3:1]
3 | ,-> <!-- foo --><div>baz</div><!-- bar
4 | |
5 | `-> moo -->
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:5:1]
5 | moo -->
: ^
6 | <script><!-- alert(1) --></script>
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:5:1]
5 | moo -->
: ^
6 | <script><!-- alert(1) --></script>
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:6:1]
6 | <script><!-- alert(1) --></script>
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/comment/basic/input.html:6:1]
6 | <script><!-- alert(1) --></script>
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:6:1]
6 | <script><!-- alert(1) --></script>
: ^^^^^^^^^^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:6:1]
6 | <script><!-- alert(1) --></script>
: ^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:6:1]
6 | <script><!-- alert(1) --></script>
: ^
7 | <script>alert('<!--')</script>
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:6:1]
6 | <script><!-- alert(1) --></script>
: ^
7 | <script>alert('<!--')</script>
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:7:1]
7 | <script>alert('<!--')</script>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/comment/basic/input.html:7:1]
7 | <script>alert('<!--')</script>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:7:1]
7 | <script>alert('<!--')</script>
: ^^^^^^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:7:1]
7 | <script>alert('<!--')</script>
: ^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:7:1]
7 | <script>alert('<!--')</script>
: ^
8 | <script>alert('<!-- foo -->')</script>
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:7:1]
7 | <script>alert('<!--')</script>
: ^
8 | <script>alert('<!-- foo -->')</script>
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:8:1]
8 | <script>alert('<!-- foo -->')</script>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/comment/basic/input.html:8:1]
8 | <script>alert('<!-- foo -->')</script>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:8:1]
8 | <script>alert('<!-- foo -->')</script>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:8:1]
8 | <script>alert('<!-- foo -->')</script>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:8:1]
8 | <script>alert('<!-- foo -->')</script>
: ^
9 | <script>alert('-->')</script>
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:8:1]
8 | <script>alert('<!-- foo -->')</script>
: ^
9 | <script>alert('-->')</script>
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:9:1]
9 | <script>alert('-->')</script>
: ^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/fixture/comment/basic/input.html:9:1]
9 | <script>alert('-->')</script>
: ^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/comment/basic/input.html:9:1]
9 | <script>alert('-->')</script>
: ^^^^^^^^^^^^
`----
x Text
,-[$DIR/tests/fixture/comment/basic/input.html:9:1]
9 | <script>alert('-->')</script>
: ^^^^^^^^^^^^
`----