Skip to content

Commit 0a2b817

Browse files
authored
Merge pull request #929 from mihansweatpants/patch-2
Fix typo
2 parents 7b884bf + 42ae87a commit 0a2b817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8-web-components/6-shadow-dom-style/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Here `<p>John Smith</p>` becomes bold, because CSS inheritance is in effect betw
194194
195195
Another option is to use `::slotted(selector)` pseudo-class. It matches elements based on two conditions:
196196
197-
1. The element from the light DOOM that is inserted into a `<slot>`. Then slot name doesn't matter. Just any slotted element, but only the element itself, not its children.
197+
1. The element from the light DOM that is inserted into a `<slot>`. Then slot name doesn't matter. Just any slotted element, but only the element itself, not its children.
198198
2. The element matches the `selector`.
199199
200200
In our example, `::slotted(div)` selects exactly `<div slot="username">`, but not its children:

0 commit comments

Comments
 (0)