diff --git a/README.md b/README.md index 6a3de02..c15dfc7 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ been applied. ### Constructed stylesheets (`adoptedStyleSheets`) If your custom elements use [constructed stylesheets](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/CSSStyleSheet) -(via `new CSSStyleSheet()` + `replaceSync()` + `shadowRoot.adoptedStyleSheets`), call `patchAndPolyfillConstructedStylesheets()` **before** any custom element's `connectedCallback` runs: +(via `new CSSStyleSheet()` + `replaceSync()` + `shadowRoot.adoptedStyleSheets`), call `patchAndPolyfillConstructedStylesheets()` **before** any of those custom elements are defined: ```html