Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit 5c808c6

Browse files
authored
Merge pull request #3685 from google/ebidel-patch-1
shadow dom: fix typo
2 parents ba4cebd + a5aba6b commit 5c808c6

File tree

1 file changed

+2
-2
lines changed
  • src/content/en/fundamentals/getting-started/primers

1 file changed

+2
-2
lines changed

src/content/en/fundamentals/getting-started/primers/shadowdom.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ project_path: /web/_project.yaml
22
book_path: /web/fundamentals/_book.yaml
33
description: Shadow DOM allows web developers to create compartmentalized DOM and CSS for web components
44

5-
{# wf_updated_on: 2016-09-26 #}
5+
{# wf_updated_on: 2016-10-13 #}
66
{# wf_published_on: 2016-08-01 #}
77

88
# Shadow DOM v1: Self-Contained Web Components {: .page-title }
@@ -342,7 +342,7 @@ Ever wonder how the `<select>` element renders a multi-select widget (instead of
342342

343343
One gotcha with `:host` is that rules in the parent page have higher specificity than `:host` rules defined in the element. That is, outside styles win. This allows users to override your top-level styling from the outside. Also, `:host` only works in the context of a shadow root, so you can't use it outside of shadow DOM.
344344

345-
The functional form of `:host(<selector>)` allows you to target the host if it matches a `<selector>`. This is a great way to for your component to encapsulate behaviors that react to user interaction or state or style internal nodes based on the host.
345+
The functional form of `:host(<selector>)` allows you to target the host if it matches a `<selector>`. This is a great way for your component to encapsulate behaviors that react to user interaction or state or style internal nodes based on the host.
346346

347347

348348
<style>

0 commit comments

Comments
 (0)