Hacker News new | ask | show | jobs
by randomfool 2318 days 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.