diff --git a/8-web-components/6-shadow-dom-style/article.md b/8-web-components/6-shadow-dom-style/article.md index 66e5cc13..2be81fbb 100644 --- a/8-web-components/6-shadow-dom-style/article.md +++ b/8-web-components/6-shadow-dom-style/article.md @@ -1,6 +1,6 @@ # Shadow DOM styling -Shadow DOM may include both `
Name:
@@ -321,8 +322,8 @@ Local styles can affect: - slotted elements (coming from light DOM), `::slotted(selector)` allows to select slotted elements themselves, but not their children. Document styles can affect: -- shadow host (as it's in the outer document) -- slotted elements and their contents (as it's physically in the outer document) +- shadow host (as it lives in the outer document) +- slotted elements and their contents (as that's also in the outer document) When CSS properties conflict, normally document styles have precedence, unless the property is labelled as `!important`. Then local styles have precedence.