Commit Graph

314 Commits

Author SHA1 Message Date
Steven Orvell
4f8849e86e [whenReady] call after custom elements needs to be wrapped whenReady. 2017-02-10 16:53:32 -08:00
Steven Orvell
9d0052cb15 Defers whenReady until after any imports that are queued by custom elements upgrading have been loaded. 2017-02-10 16:32:05 -08:00
Steven Orvell
7bb0b7d5ec Move dispatching WebComponentsReady until after HTMLImports.whenReady is patched. 2017-02-06 21:55:06 -08:00
Steven Orvell
1d112fcb70 Ensure HTMLImports.whenReady always comes after custom elements have upgraded. 2017-02-06 10:44:04 -08:00
Russell Bicknell
52e256a756 If the custom elements polyfill is in use, prevent document upgrade walks until HTMLImports.whenReady. 2017-02-03 16:43:19 -08:00
Monica Dinculescu
824c1e4882 update loader; update tests to use loader 2017-01-12 17:11:41 -08:00
Monica Dinculescu
7e1275033b delete old and unused build files 2017-01-12 16:29:40 -08:00
Monica Dinculescu
418c4d67c8 not everybody has HTMLImports 2017-01-11 15:51:36 -08:00
Monica Dinculescu
3bc06328e9 remove old CustomElements flag code 2017-01-04 18:15:04 -08:00
Monica Dinculescu
35eaf162e7 clean up src folder 2016-12-14 13:46:46 -08:00
Monica Dinculescu
542bd120ef replace HTMLImports.js with webcomponents/html-imports 2016-12-14 13:39:26 -08:00
Monica Dinculescu
bbf8d264d4 delete unused files for (i think) building 2016-12-14 13:35:01 -08:00
Monica Dinculescu
4c138da6a9 fix template/url deps names 2016-12-14 13:07:54 -08:00
Monica Dinculescu
968bf0b5a4 replace Template.js with webcomponents/template 2016-12-14 12:37:03 -08:00
Monica Dinculescu
8d16d8cc4a replace URL.js with webcomponentsjs/URL 2016-12-14 11:43:41 -08:00
Monica Dinculescu
8a0b6a95ab delele legacy takeRecords 2016-12-13 17:11:07 -08:00
Monica Dinculescu
71e837771d delete ShadowDOM/ShadowCSS, piss off all the tests 2016-12-13 17:10:23 -08:00
Monica Dinculescu
ad9400cc5a replace lang.js/dom.js with webcomponents-platform 2016-12-13 16:53:52 -08:00
Monica Dinculescu
352c1cb711 delete WeakMap 2016-12-13 16:49:38 -08:00
Monica Dinculescu
579b3665e6 paths have meanings 2016-12-13 16:35:14 -08:00
Monica Dinculescu
ab21a42c01 delete MutationObserver polyfill 2016-12-13 15:52:04 -08:00
Monica Dinculescu
1a9f2c6b1a replace Promise.js with es6-polyfill 2016-12-13 15:36:12 -08:00
Kevin Schaaf
d133399dc7 Fix strict mode error on older Safari. 2016-12-01 17:02:34 -08:00
Steven Orvell
130ecb3bf3 move ES6 polyfills into lang 2016-12-01 11:13:12 -08:00
Steven Orvell
ff87ab9681 fix indentation 2016-12-01 10:39:21 -08:00
Steven Orvell
572e8c223e Enhance compatibility with IE by including a Promise polyfill and some minor ES6 methods. 2016-11-30 14:39:13 -08:00
Kevin Schaaf
41898d4c06 Allow forcing CE polyfill via script. 2016-10-24 16:55:37 -07:00
Steven Orvell
73b21497cd Load external polyfills in webcomponents-lite.js. Thread web components flags to polyfills. 2016-09-08 13:18:46 -07:00
Daniel Freedman
1518c1b371 CustomElements split out into webcomponents/custom-elements
Update package.json, gulpfile, and tests
2016-09-08 12:19:32 -07:00
Justin Fagnani
c48d295295 Define window.customElements with defineProperty 2016-09-07 15:33:44 -07:00
Justin Fagnani
c60aef5d26 Move built-in HTMLElement subclass prototype patching to separate file 2016-09-06 16:28:03 -07:00
Justin Fagnani
fe5251632c isConnected() returns true for elements in any Document, not just the main document.
connectedCallback() should be called in HTML imports.
2016-09-06 16:23:03 -07:00
Justin Fagnani
f3e5a4b111 CustomElementsRegistry -> CustomElementRegistry 2016-09-06 16:13:05 -07:00
Justin Fagnani
4ec8435396 Custom element names must be lower case 2016-09-06 16:11:08 -07:00
Justin Fagnani
e19b82e292 Add build and test instructions to README 2016-09-06 13:37:21 -07:00
Justin Fagnani
ee6324a0b2 Consolidate producing name errors 2016-09-06 10:42:23 -07:00
Justin Fagnani
0dd8343aaa Use isValidCustomElementName in whenDefined 2016-09-06 10:32:21 -07:00
Justin Fagnani
d50d543e89 Simplify logic for adding flush() to native customElements 2016-09-06 10:26:11 -07:00
Justin Fagnani
6e4a951ddd Actually use the constants to access per-element state 2016-09-06 10:25:31 -07:00
Justin Fagnani
9ac84da0bf Make a getter for the current customElements registry 2016-09-06 10:12:50 -07:00
Justin Fagnani
e984474589 var -> const or let 2016-09-03 09:27:22 -07:00
Justin Fagnani
45808b97ad Convert CustomElementsRegistry to a class 2016-09-02 21:44:55 -07:00
Justin Fagnani
dbb5381e6f Defer upgrades until HTML Imports have loaded 2016-09-02 17:15:47 -07:00
Justin Fagnani
ef8a56d7f0 Use better property names for Element expando properties 2016-09-02 16:53:57 -07:00
Justin Fagnani
0dc1ca4002 Add sync setAttribute, removeAttribute, and importNode 2016-09-02 16:48:08 -07:00
Alexader
70fbea769d Fix property declaration from constructor, to constructor: 2016-08-31 22:45:22 +03:00
Justin Fagnani
e0562209b2 Fix prototype for HTMLElement in the native-shim 2016-08-30 00:44:05 -07:00
Justin Fagnani
983d7d34fe Make HTMLElement.prototype.constructor configurable and writable 2016-08-30 00:29:36 -07:00
Justin Fagnani
217e2dccf7 Don’t read observedAttributed if there’s no attributeChangedCallback 2016-08-30 00:06:04 -07:00
Justin Fagnani
12f51009c1 Add WebComponentsReady event 2016-08-29 23:47:55 -07:00