Skip to content

Commit

Permalink
failing test for #1082
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored and Conduitry committed Feb 8, 2018
1 parent 0ef8229 commit 1719a31
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/runtime/samples/script-style-non-top-level/_config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default {
html: `
<div>
<style>div { color: red; }</style>
<script>alert('<>');</script>
</div>
`
};
4 changes: 4 additions & 0 deletions test/runtime/samples/script-style-non-top-level/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div>
<style>div { color: red; }</style>
<script>alert('<>');</script>
</div>

0 comments on commit 1719a31

Please sign in to comment.