As with everywhere else we should be using the document rather than the window's viewports. Fixes #6467
6 lines
152 B
HTML
6 lines
152 B
HTML
<script>
|
|
new DOMParser().parseFromString(
|
|
`<style>@font-face { font-family: a; src: url(); }</style>`,
|
|
"text/html"
|
|
);
|
|
</script>
|