Skip to content

Commit 77aba36

Browse files
committed
Yellow instead of white
1 parent e4c0709 commit 77aba36

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

__tests__/html2/hooks/useInjectStylesElements/changeNonce.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<script crossorigin="anonymous" src="/test-page-object.js"></script>
1010
<script crossorigin="anonymous" src="/__dist__/webchat-es5.js"></script>
1111
<meta http-equiv="content-security-policy" content="style-src-elem 'nonce-1'" />
12+
<style nonce="1">
13+
main {
14+
background-color: Yellow!important;
15+
}
16+
</style>
1217
</head>
1318
<body>
1419
<main id="webchat"></main>
0 Bytes
Loading

__tests__/html2/hooks/useInjectStylesElements/dupeElement.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
<script crossorigin="anonymous" src="/test-harness.js"></script>
99
<script crossorigin="anonymous" src="/test-page-object.js"></script>
1010
<script crossorigin="anonymous" src="/__dist__/webchat-es5.js"></script>
11+
<style>
12+
main {
13+
background-color: Yellow !important;
14+
}
15+
</style>
1116
</head>
1217
<body>
1318
<main id="webchat"></main>
0 Bytes
Loading

0 commit comments

Comments
 (0)