Skip to content

Commit e79e05f

Browse files
test: add test for case with empty style tags
1 parent c120ce9 commit e79e05f

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<script>
2+
</script>
3+
4+
<div class="bg-red-50">
5+
<h1>Hello World</h1>
6+
</div>
7+
8+
<style>
9+
.bg-red-50 {
10+
--tw-bg-opacity: 1;
11+
background-color: rgba(254, 242, 242, var(--tw-bg-opacity));
12+
}
13+
</style>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<script>
2+
</script>
3+
4+
<div class="bg-red-50">
5+
<h1>Hello World</h1>
6+
</div>
7+
8+
<style></style>

0 commit comments

Comments
 (0)