Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Commit cf46d7a

Browse files
authored
Merge pull request #784 from cyrilletuzi/patch-2
Info about CSS missing encapsulation
2 parents 004aaac + a1371b8 commit cf46d7a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,13 @@ window.addEventListener('WebComponentsReady', function(e) {
146146

147147
## Known Issues
148148

149+
* [ShadowDOM CSS is not encapsulated out of the box](#shadycss)
149150
* [Custom element's constructor property is unreliable](#constructor)
150151
* [Contenteditable elements do not trigger MutationObserver](#contentedit)
151152
* [ShadyCSS: :host(.zot:not(.bar:nth-child(2))) doesn't work](#nestedparens)
153+
154+
### ShadowDOM CSS is not encapsulated out of the box <a id="shadycss"></a>
155+
The ShadowDOM polyfill is not able to encapsulate CSS in ShadowDOM out of the box. You need to use specific code from the ShadyCSS library, included with the polyfill. See [ShadyCSS instructions](https://github.com/webcomponents/shadycss).
152156

153157
### Custom element's constructor property is unreliable <a id="constructor"></a>
154158
See [#215](https://github.com/webcomponents/webcomponentsjs/issues/215) for background.

0 commit comments

Comments
 (0)