3 ms·
Yes I'm sure. It was a bug in SingleFile [1] and to fix it (I'm the author), I must add a JavaScript script in the saved page to deserialize the shadow root con
by gildas 7y ago
Yes I'm sure. It was a bug in SingleFile [1] and to fix it (I'm the author), I must add a JavaScript script in the saved page to deserialize the shadow root contents that are missing. It means that JS is required to view this saved page correctly.
[1] https://github.com/gildas-lormeau/SingleFile https://github.com/gildas-lormeau/SingleFile
- mattnewton 7y agoI mean, JavaScript being required to view pages sounds like Pandora’s already opened box.
- gildas 7y agoI disagree, I develop SingleFile for 10 years. That's the first time I need to include a script in the saved page in order to display it properly. Until the existence of Web Components, JavaScript was not needed to display a saved page. Edit: to be clear, saved pages are HTML snapshots, not full web apps stored in a page.
- rictic 7y agoWork is underway on speccing out declarative shadow doms, which would remove the need for that JS: https://github.com/mfreed7/declarative-shadow-dom https://github.com/mfreed7/declarative-shadow-dom