Commit Graph

210 Commits

Author SHA1 Message Date
Daniel Freedman
7b13afd170 Make WebComponentsReady fire consistently for Chrome
Also fire WebComponentsReady on document and have it bubble for
backwards compatibility

Fixes #753
Fixes #756
2017-04-06 17:01:05 -07:00
valdrinkoshi
60c56cd7d9 loader.js before browser.js 2017-03-22 11:19:37 -07:00
valdrinkoshi
79fe34ba80 stub HTMLImports 2017-03-22 11:10:01 -07:00
valdrinkoshi
615e811764 tell WCT to wait for WebComponentsReady 2017-03-21 15:08:41 -07:00
Valdrin Koshi
525d4962bf Merge pull request #735 from webcomponents/fix-734
fire WebComponentsReady on sd-ce bundle
2017-03-21 14:26:12 -07:00
valdrinkoshi
f8b627e722 custom-elements-es5-adapter.js 2017-03-21 14:02:56 -07:00
valdrinkoshi
ac9a5b94bb add tests 2017-03-14 17:48:59 -07:00
Daniel Freedman
d75f21b48d fix test, ShadyCSS may not load 2017-02-16 12:28:47 -08:00
Daniel Freedman
b1802c1255 Merge branch 'v1' into split-shadycss 2017-02-16 12:06:22 -08:00
Daniel Freedman
05b8ffac30 fix use of ShadyCSS 2017-02-16 10:22:21 -08:00
valdrinkoshi
2918670bcd remove HTMLImports stub 2017-02-14 17:41:33 -08:00
valdrinkoshi
544935fc2e add test for importForElement 2017-02-14 15:13:54 -08:00
valdrinkoshi
1bd7090b73 WebComponentsReady fired once. 2017-02-14 14:05:44 -08:00
Daniel Freedman
43ea004326 make sure webcomponents loader is before wct 2017-02-07 14:31:15 -08:00
Daniel Freedman
7dcc5a0ec7 add top level suites to all html tests 2017-02-07 12:35:52 -08:00
valdrinkoshi
c69fba7946 revert as in v1 2017-01-27 15:50:21 -08:00
valdrinkoshi
b12a6376b3 stub HTMLImports.useNative, try latest hi and ce 2017-01-27 15:38:20 -08:00
Monica Dinculescu
0b02500cfb fix IE11 build 2017-01-17 15:16:23 -08:00
Monica Dinculescu
824c1e4882 update loader; update tests to use loader 2017-01-12 17:11:41 -08:00
Monica Dinculescu
350b3b8d7b fix racy test 2017-01-11 16:02:35 -08:00
Monica Dinculescu
c60298af9b fix test that doesn't make sense without HTMLImports 2017-01-11 15:51:53 -08:00
Monica Dinculescu
7316ed1de7 fix IE11 tests because template.js is async 2017-01-04 17:58:30 -08:00
Monica Dinculescu
a9b9994e07 fix import 2016-12-19 16:23:48 -08:00
Monica Dinculescu
dd8c12abc9 rejigger tests into one folder 2016-12-19 15:59:37 -08:00
Monica Dinculescu
4e51c880ff tests: clean up, move round 2016-12-19 15:56:38 -08:00
Monica Dinculescu
df8075e1c1 tests: add smoke test 2016-12-19 15:12:18 -08:00
Monica Dinculescu
75fc8e0e6b tests: delete force shadow dom polyfill 2016-12-19 14:59:25 -08:00
Monica Dinculescu
11a7950d1c tests: load and dev-loaders 2016-12-19 14:58:11 -08:00
Monica Dinculescu
4d859c10b6 fix Shady CSS in basic intergration test 2016-12-19 14:47:04 -08:00
Monica Dinculescu
f0e39e6880 temporary 🔧: the gulped html imports is hosed, use the ungulped one 2016-12-14 15:56:23 -08:00
Monica Dinculescu
5214487e02 add basic integration test 2016-12-14 15:35:05 -08:00
Monica Dinculescu
ecd0d07fc2 forgot about dre (or webcomponents-platform) 2016-12-14 14:56:42 -08:00
Monica Dinculescu
793f125c45 delete MO tests reference 2016-12-14 14:34:57 -08:00
Monica Dinculescu
65bf7340e7 integration tests: template+CE, template+imports 2016-12-14 14:18:43 -08:00
Monica Dinculescu
542bd120ef replace HTMLImports.js with webcomponents/html-imports 2016-12-14 13:39:26 -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
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
ab21a42c01 delete MutationObserver polyfill 2016-12-13 15:52:04 -08: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
c60aef5d26 Move built-in HTMLElement subclass prototype patching to separate file 2016-09-06 16:28:03 -07:00
Justin Fagnani
c46bfdc0d6 Skip TypeScript test which is correctly failing with native Custom Elements 2016-09-06 16:23:33 -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
45808b97ad Convert CustomElementsRegistry to a class 2016-09-02 21:44:55 -07:00
Justin Fagnani
a105327ea8 Define ES5 constructors more correctly in tests 2016-09-02 16:55:19 -07:00
Justin Fagnani
0dc1ca4002 Add sync setAttribute, removeAttribute, and importNode 2016-09-02 16:48:08 -07:00