mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
Merge pull request #784 from cyrilletuzi/patch-2
Info about CSS missing encapsulation
This commit is contained in:
@@ -146,9 +146,13 @@ window.addEventListener('WebComponentsReady', function(e) {
|
||||
|
||||
## Known Issues
|
||||
|
||||
* [ShadowDOM CSS is not encapsulated out of the box](#shadycss)
|
||||
* [Custom element's constructor property is unreliable](#constructor)
|
||||
* [Contenteditable elements do not trigger MutationObserver](#contentedit)
|
||||
* [ShadyCSS: :host(.zot:not(.bar:nth-child(2))) doesn't work](#nestedparens)
|
||||
|
||||
### ShadowDOM CSS is not encapsulated out of the box <a id="shadycss"></a>
|
||||
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).
|
||||
|
||||
### Custom element's constructor property is unreliable <a id="constructor"></a>
|
||||
See [#215](https://github.com/webcomponents/webcomponentsjs/issues/215) for background.
|
||||
|
||||
Reference in New Issue
Block a user