encyclopegia.org

Shadow DOM

Shadow DOM is a browser feature that allows websites to define self-contained HTML elements on the website.[src] These self-contained elements, called shadow trees, allow website developers to bundle together related HTML markup and CSS styling in a manner such that the styling and code does not affect other surrounding elements.[src] This solves a recurring problem that web developers face of unintended interference between components, where CSS rules written for one part of a page can accidentally affect unrelated parts of the website.[src] The shadow DOM feature originated as part of the Web Components initiative by Google alongside other proposals like Custom Elements and the HTML template element in 2013.[src] After criticism from Apple and Mozilla on the first version of the Shadow DOM proposal, called the "v0" design, a new proposal called the "v1" design was published and was subsequently adopted by all major web browsers.[src]

Shadow DOM is a browser feature that allows websites to define self-contained HTML elements on the website.[src] These self-contained elements, called shadow trees, allow website developers to bundle together related HTML markup and CSS styling in a manner such that the styling and code does not affect other surrounding elements.[src] This solves a recurring problem that web developers face of unintended interference between components, where CSS rules written for one part of a page can accidentally affect unrelated parts of the website.[src] The shadow DOM feature originated as part of the Web Components initiative by Google alongside other proposals like Custom Elements and the HTML template element in 2013.[src] After criticism from Apple and Mozilla on the first version of the Shadow DOM proposal, called the "v0" design, a new proposal called the "v1" design was published and was subsequently adopted by all major web browsers.[src]

10 sentences · 10 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Shadow DOM." encyclopegia.org, 2026, https://encyclopegia.org/wiki/shadow-dom. Accessed 26 November 2026.

Chicago

"Shadow DOM." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/shadow-dom.

APA

encyclopegia.org. (2026). Shadow DOM. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/shadow-dom

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

The Screaming Shadow

stub · references available

Me and My Shadow

stub · references available

Shadow Dancer

stub · references available

Wartesaal am Dom

stub · references available

Jeanny Dom

stub · references available

Spiral Shadow

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1368301274 · 0.5 · snapshot enwiki-001368301274

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.