Shadow DOM #156
LeaVerou
started this conversation in
State of HTML Features
Shadow DOM
#156
Replies: 1 comment 6 replies
-
I think we should dig into the various types of encapsulation provided by shadow DOM, and ask which are good/bad/problematic:
The above is a rambling list - the point is that we should ask some questions about encapsulation. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Encapsulate elements not visible from the outside, and style them with CSS not affecting the rest of the page.
Code sample
MDN URL:
https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM
Specification URL:
No response
Any other links?
No response
How stable is this feature?
Stable (Widely supported for several years)
Type of feature
JS API
What focus area does this feature fall under?
Making Web Components
Details
We should probably ask about Shadow DOM as a whole too.
Beta Was this translation helpful? Give feedback.
All reactions