This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore compatibility between TemplateBinding and Custom Elements pol…
…yfill. TemplateBinding now uses a staging document for creating elements. Elements should be upgraded there. Custom Elements requires manually setting up documents to support custom elements. To solve this generally, this requirement could be removed. Alternatively, TemplateBinding could be setup to work with the CE polyfill. For simplicity we’ve directly patched importNode here. This is the mechanism TemplateBinding uses to create dom in the staging document. Also included is a temp workaround for SD polyfill support for importNode.
- Loading branch information