polyfills
polyfills copied to clipboard
Web Components Polyfills
## Constructible Stylesheets We want to support and API as close as possible to native Constructible Stylesheets, so that this works: ```js const s = new CSSStyleSheet(); s.replaceSync(':host { display:...
### Description when we try to render a `` which is direct children of `` tag , the browser rendering `` tag as sibling of `` tag which is expected...
document.addEventListener and document.dispatchEvent do not work on document in IE11 with shadydom
### Description When shadydom is used custom events fired onto document do not work: Example: ``` // never gets event document.addEventListener('my-custom-event', function(e) { console.log(e) }) document.dispatchEvent(new CustomEvent('my-custom-event', {bubbles: true, detail:...
Remake of https://github.com/webcomponents/shadydom/pull/293
Remake of https://github.com/webcomponents/shadydom/pull/292
### Description A custom element with a `role="img"` does not get announced by IE11 with the screen reader JAWS. It gets ignored/skipped completely. I made a CodePen with some variations...
### Description When using the polyfills in IE11, if document.domain is set, .innerHTML throws a `SCRIPT5022: WrongDocumentError` at line 84 of template/template.js. I'm not finding any information in my various...
… same domain as the real `document` object to avoid `WrongDocumentError` when setting `innerHTML` in IE11. ### Reference Issue Fixes #180