diff --git a/8-web-components/3-shadow-dom/article.md b/8-web-components/3-shadow-dom/article.md index 110e6407..d7fb7d01 100644 --- a/8-web-components/3-shadow-dom/article.md +++ b/8-web-components/3-shadow-dom/article.md @@ -40,7 +40,7 @@ A DOM element can have two types of DOM subtrees: 1. Light tree -- a regular DOM subtree, made of HTML children. 2. Shadow tree -- a hidden DOM subtree, not reflected in HTML, hidden from prying eyes. -Technically, it's possible for an element to have both at the same time. Then the browser renders only the shadow tree. But usually the element content is either "light" (included into the main DOM/HTML) or "shadowed" (encapsulated from it). +Technically, it's possible for an element to have both at the same time. Then the browser renders only the shadow tree. We'll why that may be needed later in this chapter. Shadow tree can be used in Custom Elements to hide internal implementation details. @@ -82,25 +82,6 @@ That's how it looks in Chrome dev tools: For example: ```html run untrusted height=40 -
- - -