Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylesheet link support #38

Closed
ruphin opened this issue May 14, 2017 · 2 comments
Closed

Stylesheet link support #38

ruphin opened this issue May 14, 2017 · 2 comments

Comments

@ruphin
Copy link
Contributor

ruphin commented May 14, 2017

The following syntax is allowed in the Web Component v1 specification and currently works correctly on Chrome and Safari:

<template id="element-template">
  <link rel="stylesheet" href=style.css">
  <div>...</div>
</template>

At the moment, this polyfill only seems to support inline style tags.
Is support for link tags in the pipeline, or will it remain unsupported?

@donifer
Copy link

donifer commented Oct 10, 2017

@azakus is this possible? What about a flag that we can enable even if it has to load the stylesheets 2 times? (re-fetching to get the text content)

@madeleineostoja
Copy link

Big 👍- any progress on this for ShadyCSS v2? Especially relevant for use-cases polyfilling CSS custom props outside of custom elements, where inline style blocks are a bit of an antipattern (browser caching)

@dfreedm dfreedm transferred this issue from webcomponents/shadycss Jun 7, 2019
dfreedm added a commit that referenced this issue Jun 11, 2019
Revalidate Shadow Dom instances and other fixes
dfreedm pushed a commit that referenced this issue Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants