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

111 lines
2.3 KiB
Plaintext

x Document
,-[$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>
`----
x Child
x Element
x Child
x Element
x Child
,-[$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
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
3 | | document.write("<");
4 | `-> //]]>
5 | </script>
`----
x Attribute
x Child
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
3 | | document.write("<");
4 | `-> //]]>
5 | </script>
`----
x Text
,-[$DIR/tests/fixture/element/script-cdata/input.html:1:1]
1 | ,-> <script type="text/javascript">
2 | | //<![CDATA[
3 | | document.write("<");
4 | `-> //]]>
5 | </script>
`----
x Child
,-[$DIR/tests/fixture/element/script-cdata/input.html:5:1]
5 | </script>
: ^
6 | <script>
`----
x Text
,-[$DIR/tests/fixture/element/script-cdata/input.html:5:1]
5 | </script>
: ^
6 | <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 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>
`----