Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Document the exact differences with real web components #12

Open
pimterry opened this issue May 11, 2016 · 2 comments
Open

Document the exact differences with real web components #12

pimterry opened this issue May 11, 2016 · 2 comments

Comments

@pimterry
Copy link
Owner

pimterry commented May 11, 2016

No description provided.

@pimterry
Copy link
Owner Author

pimterry commented Jun 6, 2016

Should probably move to proper polyfillying, rather than the fairly hacky current approach. https://github.com/webcomponents/webcomponentsjs/blob/v0.7.22/CustomElements.js would be a good place to start. Note that a big part of it is polyfilling MutationObserver - could just implement in Domino (as planned) and go from there.

@pimterry
Copy link
Owner Author

One example limitation to the approach: no Canvas. You can't serialize a server-rendered canvas, so any drawing work is inevitably lost (in reality, it actually just explodes - Domino doesn't implement canvas.getContext)

...could maybe serialize canvases as images? Probably not worth it though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant