xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

html template & import link bug

html template & import link bug

html templates is OK

https://caniuse.com/#search=html template

image

html imports is Error

https://caniuse.com/#search=html imports

image


https://caniuse.com/#search=html


import link bug

image

image

image


shit firefox & HTML Imports

https://caniuse.com/#search=html

Firefox has no plans to support HTML imports though for now it can be enabled through the "dom.webcomponents.enabled" preference in about:config

https://hacks.mozilla.org/2014/12/mozilla-and-web-components/

https://bugzilla.mozilla.org/buglist.cgi?quicksearch=html+imports

image


https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template

https://developer.mozilla.org/en-US/docs/Web/API

https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5

https://developer.mozilla.org/en-US/docs/Web/API/Touch_events

https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import


https://css-tricks.com/should-you-use-a-template/

https://webdesign.tutsplus.com/tutorials/how-to-customize-an-html-template--cms-25886

polyfill

https://stackoverflow.com/questions/22222950/html5-template-not-working-on-internet-explorer-how-to-solve-it

https://github.com/neovov/template-element-polyfill


https://github.com/webcomponents/webcomponentsjs/tree/v1#how-to-use
https://github.com/webcomponents/webcomponentsjs/blob/v1/webcomponents-hi-sd-ce.js
https://github.com/webcomponents/webcomponentsjs/raw/v1/webcomponents-hi-sd-ce.js


html imports 有用过的吗?已入坑,发现除了 Chrome 都不好使呀。

polyfill

https://developer.mozilla.org/en-US/docs/Web/Web_Components

https://www.webcomponents.org/community/articles/introduction-to-html-imports

https://github.com/webcomponents/webcomponentsjs/tree/v1
https://developers.google.com/events/io/sessions/318907648
https://www.html5rocks.com/en/tutorials/webcomponents/imports/
https://developer.mozilla.org/en-US/docs/Web/Web_Components/HTML_Imports
https://developer.mozilla.org/en-US/docs/Web/Web_Components
https://www.w3.org/TR/html-imports/

https://caniuse.com/#search=html template

http://blog.teamtreehouse.com/introduction-html-imports
https://github.com/googlearchive/HTMLImports
https://github.com/webcomponents/webcomponentsjs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2018-08-02 15:38  xgqfrms  阅读(172)  评论(2编辑  收藏  举报