test: ecma injections

This commit is contained in:
Benny Powers 2023-03-21 10:05:52 +02:00 committed by Amaan Qureshi
parent d228b51cd7
commit 972da989bc
2 changed files with 9 additions and 9 deletions

View file

@ -0,0 +1,9 @@
html`<p></p>`;
// ^ html
html(`<p></p>`);
// ^ html
svg`<p></p>`;
// ^ html
svg(`<p></p>`);
// ^ html

View file

@ -41,15 +41,6 @@
<!-- ^ json -->
<script type="importmap">{ "true": false }</script>
<!-- ^ json -->
<script type="module">html`<p></p>`</script>
<!-- ^ html -->
<script type="module">html(`<p></p>`)</script>
<!-- ^ html -->
<script type="module">svg`<p></p>`</script>
<!-- ^ html -->
<script type="module">svg(`<p></p>`)</script>
<!-- ^ html -->
<div style="height: 100%">
<!-- ^ css -->
Test div to test css injections for style attributes