shadydom
shadydom copied to clipboard
ShadowDOM v1 shim
The polyfill's customElements.define only takes the first 2 arguments not passing through the third optional argument ({extends: 'a'} etc...). Is there any reason you wouldn't just pass the 3rd argument...
_From @TimvdLippe on April 2, 2017 13:17_ ### Description If you use `::slotted(foo)` where `foo` is not a direct child of the element, the polyfill will not style `foo` properly....
_From @HendrikThePendric on July 24, 2017 12:23_ My app consists of a container with an iframe inside it. The container does not use Polymer and doesn't include webcomponents-loader.js, but the...
### Description The `Document.prototype.getElementById` method that `shadydom` attaches to the document is much slower than the built in version. We noticed this on a customers site when we added the...
Sorry if this is not the right avenue to post this, it is a feature request but I do not mind putting a PR against it myself. My curiosity is...
### Description patch-events.js causes an error in IE. #### Live Demo Run this pen in IE11: https://codepen.io/anon/pen/dJerjB #### Steps to Reproduce See the pen in IE11. You can use http://crossbrowsertesting.com...
Once the custom elements polyfill starts patching innerHTML on ShadowRoots properly, [these lines](https://github.com/webcomponents/shadydom/blob/006b3d651acf0df1d04e5442a89c55dcd70e94ea/src/patch-accessors.js#L356) will incorrectly call back into the custom elements polyfill.
Not fully sure if this is bug or not, but it's behavior difference between native Shadow and ShadyDOM nevertheless: When an element inside shadow root is clicked programmatically using `click()`,...
For context: I'm interested in converting our company's component library (current a set of AngularJS 1.x components) to Web Components. We'd target IE11 + evergreens. Most of our clients are...
If an element creates dom before it is stamped, ShadyCSS won't be able to scope it properly due to optimizations in dynamic scoping: Live example: https://longing-brand.glitch.me/ Code: https://glitch.com/edit/#!/longing-brand?path=views/index.html:1:0