Enables DOM tree encapsulation. Without it, widgets may inadvertently break pages by using conflicting CSS selectors, class or id names, or JavaScript variables.


Specification link

Specification currently under development in a Working Group

Status in Chromium


Deprecated (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.



This old and prefixed implementation is being deprecated, please watch out for deprecation warnings in the devtools console. We have enabled an unprefixed modern Shadow DOM implementation in M35 (see the latest spec and polymer-dev for additional details on what changed since then) Updated IE views based on http://status.modern.ie/#/ ("Under consideration"). Latest spec: see also dev.w3.org/csswg/shadow-styling/ for the styling aspects.

Last updated on 2021-08-29