├── .github └── CODEOWNERS ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── DEVELOPING.md ├── LICENSE.md ├── README.md ├── externs └── custom-elements.js ├── gulpfile.js ├── package.json ├── rollup.config.js ├── src ├── AlreadyConstructedMarker.js ├── CustomElementInternals.js ├── CustomElementRegistry.js ├── CustomElementState.js ├── Deferred.js ├── DocumentConstructionObserver.js ├── Patch │ ├── Document.js │ ├── DocumentFragment.js │ ├── Element.js │ ├── HTMLElement.js │ ├── Interface │ │ ├── ChildNode.js │ │ └── ParentNode.js │ ├── Native.js │ └── Node.js ├── Utilities.js ├── custom-elements.js └── native-shim.js ├── tests ├── html │ ├── Document │ │ ├── createElement.html │ │ ├── createElementNS.html │ │ ├── importNode.html │ │ └── index.html │ ├── Element │ │ ├── attachShadow.html │ │ ├── index.html │ │ ├── innerHTML.html │ │ ├── insertAdjacentElement.html │ │ ├── insertAdjacentHTML.html │ │ ├── removeAttribute.html │ │ ├── removeAttributeNS.html │ │ ├── setAttribute.html │ │ └── setAttributeNS.html │ ├── HTMLElement │ │ ├── constructor.html │ │ └── index.html │ ├── Interface │ │ ├── ChildNode │ │ │ └── index.html │ │ ├── ParentNode │ │ │ └── index.html │ │ └── index.html │ ├── Node │ │ ├── appendChild.html │ │ ├── cloneNode.html │ │ ├── index.html │ │ ├── insertBefore.html │ │ ├── removeChild.html │ │ ├── replaceChild.html │ │ └── textContent.html │ ├── async-import.html │ ├── imported-doc.html │ ├── imports.html │ ├── incorrectly-imported-doc.html │ ├── polyfillWrapFlushCallback │ │ ├── defaultSyncFlush.html │ │ ├── defineDoesNotWalk.html │ │ ├── flushCallbackIsCalled.html │ │ ├── imperativelyCreatedBeforeFlush.html │ │ ├── index.html │ │ ├── multipleDefineCalls.html │ │ ├── multipleFlushCallbacks_blocking.html │ │ ├── multipleFlushCallbacks_ordering.html │ │ ├── upgradeInDefineCallOrder.html │ │ ├── whenDefined_after.html │ │ └── whenDefined_before.html │ ├── registry-upgrade.html │ ├── shim.html │ ├── sub-import.html │ └── template-polyfill.html ├── index.html └── js │ ├── babel.js │ ├── closure.js │ ├── instanceof.js │ ├── reactions.js │ ├── registry.js │ ├── shadow-dom.js │ ├── typescript.js │ └── upgrade.js └── wct.conf.json /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @azakus @bicknellr 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | npm-debug.log* 4 | custom-elements.min.js* 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /DEVELOPING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/DEVELOPING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/README.md -------------------------------------------------------------------------------- /externs/custom-elements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/externs/custom-elements.js -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/gulpfile.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/AlreadyConstructedMarker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/AlreadyConstructedMarker.js -------------------------------------------------------------------------------- /src/CustomElementInternals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/CustomElementInternals.js -------------------------------------------------------------------------------- /src/CustomElementRegistry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/CustomElementRegistry.js -------------------------------------------------------------------------------- /src/CustomElementState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/CustomElementState.js -------------------------------------------------------------------------------- /src/Deferred.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Deferred.js -------------------------------------------------------------------------------- /src/DocumentConstructionObserver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/DocumentConstructionObserver.js -------------------------------------------------------------------------------- /src/Patch/Document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/Document.js -------------------------------------------------------------------------------- /src/Patch/DocumentFragment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/DocumentFragment.js -------------------------------------------------------------------------------- /src/Patch/Element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/Element.js -------------------------------------------------------------------------------- /src/Patch/HTMLElement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/HTMLElement.js -------------------------------------------------------------------------------- /src/Patch/Interface/ChildNode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/Interface/ChildNode.js -------------------------------------------------------------------------------- /src/Patch/Interface/ParentNode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/Interface/ParentNode.js -------------------------------------------------------------------------------- /src/Patch/Native.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/Native.js -------------------------------------------------------------------------------- /src/Patch/Node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Patch/Node.js -------------------------------------------------------------------------------- /src/Utilities.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/Utilities.js -------------------------------------------------------------------------------- /src/custom-elements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/custom-elements.js -------------------------------------------------------------------------------- /src/native-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/src/native-shim.js -------------------------------------------------------------------------------- /tests/html/Document/createElement.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Document/createElement.html -------------------------------------------------------------------------------- /tests/html/Document/createElementNS.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Document/createElementNS.html -------------------------------------------------------------------------------- /tests/html/Document/importNode.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Document/importNode.html -------------------------------------------------------------------------------- /tests/html/Document/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Document/index.html -------------------------------------------------------------------------------- /tests/html/Element/attachShadow.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/attachShadow.html -------------------------------------------------------------------------------- /tests/html/Element/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/index.html -------------------------------------------------------------------------------- /tests/html/Element/innerHTML.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/innerHTML.html -------------------------------------------------------------------------------- /tests/html/Element/insertAdjacentElement.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/insertAdjacentElement.html -------------------------------------------------------------------------------- /tests/html/Element/insertAdjacentHTML.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/insertAdjacentHTML.html -------------------------------------------------------------------------------- /tests/html/Element/removeAttribute.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/removeAttribute.html -------------------------------------------------------------------------------- /tests/html/Element/removeAttributeNS.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/removeAttributeNS.html -------------------------------------------------------------------------------- /tests/html/Element/setAttribute.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/setAttribute.html -------------------------------------------------------------------------------- /tests/html/Element/setAttributeNS.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Element/setAttributeNS.html -------------------------------------------------------------------------------- /tests/html/HTMLElement/constructor.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/HTMLElement/constructor.html -------------------------------------------------------------------------------- /tests/html/HTMLElement/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/HTMLElement/index.html -------------------------------------------------------------------------------- /tests/html/Interface/ChildNode/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Interface/ChildNode/index.html -------------------------------------------------------------------------------- /tests/html/Interface/ParentNode/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Interface/ParentNode/index.html -------------------------------------------------------------------------------- /tests/html/Interface/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Interface/index.html -------------------------------------------------------------------------------- /tests/html/Node/appendChild.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Node/appendChild.html -------------------------------------------------------------------------------- /tests/html/Node/cloneNode.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Node/cloneNode.html -------------------------------------------------------------------------------- /tests/html/Node/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Node/index.html -------------------------------------------------------------------------------- /tests/html/Node/insertBefore.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Node/insertBefore.html -------------------------------------------------------------------------------- /tests/html/Node/removeChild.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Node/removeChild.html -------------------------------------------------------------------------------- /tests/html/Node/replaceChild.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Node/replaceChild.html -------------------------------------------------------------------------------- /tests/html/Node/textContent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/Node/textContent.html -------------------------------------------------------------------------------- /tests/html/async-import.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/async-import.html -------------------------------------------------------------------------------- /tests/html/imported-doc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/imported-doc.html -------------------------------------------------------------------------------- /tests/html/imports.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/imports.html -------------------------------------------------------------------------------- /tests/html/incorrectly-imported-doc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/incorrectly-imported-doc.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/defaultSyncFlush.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/defaultSyncFlush.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/defineDoesNotWalk.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/defineDoesNotWalk.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/flushCallbackIsCalled.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/flushCallbackIsCalled.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/imperativelyCreatedBeforeFlush.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/imperativelyCreatedBeforeFlush.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/index.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/multipleDefineCalls.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/multipleDefineCalls.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/multipleFlushCallbacks_blocking.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/multipleFlushCallbacks_blocking.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/multipleFlushCallbacks_ordering.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/multipleFlushCallbacks_ordering.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/upgradeInDefineCallOrder.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/upgradeInDefineCallOrder.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/whenDefined_after.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/whenDefined_after.html -------------------------------------------------------------------------------- /tests/html/polyfillWrapFlushCallback/whenDefined_before.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/polyfillWrapFlushCallback/whenDefined_before.html -------------------------------------------------------------------------------- /tests/html/registry-upgrade.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/registry-upgrade.html -------------------------------------------------------------------------------- /tests/html/shim.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/shim.html -------------------------------------------------------------------------------- /tests/html/sub-import.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/sub-import.html -------------------------------------------------------------------------------- /tests/html/template-polyfill.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/html/template-polyfill.html -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/index.html -------------------------------------------------------------------------------- /tests/js/babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/babel.js -------------------------------------------------------------------------------- /tests/js/closure.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/closure.js -------------------------------------------------------------------------------- /tests/js/instanceof.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/instanceof.js -------------------------------------------------------------------------------- /tests/js/reactions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/reactions.js -------------------------------------------------------------------------------- /tests/js/registry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/registry.js -------------------------------------------------------------------------------- /tests/js/shadow-dom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/shadow-dom.js -------------------------------------------------------------------------------- /tests/js/typescript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/typescript.js -------------------------------------------------------------------------------- /tests/js/upgrade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/tests/js/upgrade.js -------------------------------------------------------------------------------- /wct.conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webcomponents/custom-elements/HEAD/wct.conf.json --------------------------------------------------------------------------------