4 ms·
Nope. Shadow DOM isolates selectors, style sheets, etc. It’s about a public/private API for elements. Contains is about layout and rendering hints to the brow
by randomfool 7y ago
Nope.
Shadow DOM isolates selectors, style sheets, etc. It’s about a public/private API for elements.
Contains is about layout and rendering hints to the browser.