-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Basic info:
- Node.js version: 16.17.0
- jsdom version: 20.0.0
Minimal reproduction case
const { JSDOM } = require('jsdom')
const dom = new JSDOM(`
<div>foo</div>
`)
console.log(dom.window.document.adoptedStyleSheets) // `undefined`
console.log(dom.window.document.documentElement.attachInternals) // `undefined`adoptedStyleSheets API
attachInternals API
How does similar code behave in browsers?
(Link to a jsbin or similar strongly suggested.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels