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

111 lines
2.3 KiB
Plaintext
Raw Normal View History

2022-04-04 07:12:45 +03:00
x Document
2022-05-03 05:49:06 +03:00
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
3 | | document.write("<");
4 | | //]]>
5 | | </script>
6 | | <script>
7 | | let foo = "<!--<script>-->";
8 | |
9 | | console.log(foo);
10 | `-> </script>
`----
2022-04-04 07:12:45 +03:00
x Child
2022-04-04 07:12:45 +03:00
x Element
2022-05-03 05:49:06 +03:00
x Child
x Element
2022-04-04 07:12:45 +03:00
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
3 | | document.write("<");
4 | `-> //]]>
5 | </script>
`----
x Element
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
3 | | document.write("<");
4 | `-> //]]>
5 | </script>
2022-04-04 07:12:45 +03:00
`----
x Attribute
2022-04-04 07:12:45 +03:00
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
2022-04-04 07:12:45 +03:00
3 | | document.write("<");
4 | `-> //]]>
5 | </script>
2022-04-04 07:12:45 +03:00
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
3 | | document.write("<");
4 | `-> //]]>
5 | </script>
2022-04-04 07:12:45 +03:00
`----
x Child
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/fixture/element/script-cdata/input.html:5:1]
2022-04-04 07:12:45 +03:00
5 | </script>
: ^
2022-05-03 05:49:06 +03:00
6 | <script>
2022-04-04 07:12:45 +03:00
`----
x Text
2022-04-28 20:27:39 +03:00
,-[$DIR/tests/fixture/element/script-cdata/input.html:5:1]
2022-04-04 07:12:45 +03:00
5 | </script>
: ^
2022-05-03 05:49:06 +03:00
6 | <script>
2022-04-04 07:12:45 +03:00
`----
2022-05-03 05:49:06 +03:00
x Child
,-[$DIR/tests/fixture/element/script-cdata/input.html:6:1]
6 | ,-> <script>
7 | | let foo = "<!--<script>-->";
8 | |
9 | `-> console.log(foo);
10 | </script>
`----
x Element
,-[$DIR/tests/fixture/element/script-cdata/input.html:6:1]
6 | ,-> <script>
7 | | let foo = "<!--<script>-->";
8 | |
9 | `-> console.log(foo);
10 | </script>
`----
x Child
,-[$DIR/tests/fixture/element/script-cdata/input.html:6:1]
6 | ,-> <script>
7 | | let foo = "<!--<script>-->";
8 | |
9 | `-> console.log(foo);
10 | </script>
`----
x Text
,-[$DIR/tests/fixture/element/script-cdata/input.html:6:1]
6 | ,-> <script>
7 | | let foo = "<!--<script>-->";
8 | |
9 | `-> console.log(foo);
10 | </script>
`----