HTML Shadow DOM

GPTKB entity

Statements (35)
Predicate Object
gptkbp:instanceOf gptkb:standard
gptkbp:allows composition of UI components
gptkbp:API attachShadow()
mode: open/closed
shadowRoot
slot
gptkbp:category gptkb:HTML5
gptkb:DOM_API
Web development
gptkbp:compatibleWith gptkb:Internet_Explorer
gptkbp:definedIn gptkb:W3C
gptkbp:enables DOM isolation
encapsulation of DOM and CSS
scoped CSS
https://www.w3.org/2000/01/rdf-schema#label HTML Shadow DOM
gptkbp:introducedIn 2011
gptkbp:partOf gptkb:Web_Components
gptkbp:prevention DOM leakage
style leakage
gptkbp:provides shadow root
shadow tree
slot elements
gptkbp:relatedTo gptkb:ES_Modules
gptkb:HTML_Templates
Custom Elements
gptkbp:specifies https://dom.spec.whatwg.org/#shadow-trees
gptkbp:supportedBy gptkb:Edge
gptkb:Safari
gptkb:Firefox
gptkb:Chrome
gptkbp:usedIn custom elements
browsers
frameworks like Polymer
gptkbp:bfsParent gptkb:Web_Platform_Working_Group
gptkbp:bfsLayer 4