mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
268 lines
6.3 KiB
Plaintext
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>
|
|
: ^^^^^^^^^^^^
|
|
`----
|