HTML Web Components Can Have a Little Shadow DOM, As A Treat | Scott Jehl, Web Designer/Developer
Briefly

HTML Web Components advocate Scott Jehl discusses the confusion surrounding the relationship between custom elements and shadow DOM, advocating for a clearer distinction in their roles.
Jehl notes that while custom elements enhance already-useful HTML, the shadow DOM has its merits especially regarding style cascading, which can influence design in unexpected ways.
The shadow DOM styles are applied to the CSS cascade after user agent styles and user styles, but before global page-level styles, as illuminated by Nathan Knowler's recent article.
Scott Jehl reveals his evolving perspective on web components, acknowledging that while he initially criticized the shadow DOM's role, its interaction with CSS has opened new insights.
Read at Scottjehl
[
|
]