-
Notifications
You must be signed in to change notification settings - Fork 27
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
type:"html" #165
Comments
This proposal only defines the syntax space, but then the various attributes (such as However, please write an actual motivation for what you want it to behave like, and why you need it. You will need to convince two browser vendors that it's worth to implement it :) |
@Nashorn - I couldn't find if you raised the issue elsewhere. @nicolo-ribaudo - Thanks for the suggestion. It seems there is a related (and still open) question from 2017 here: WICG/webcomponents#645. I will raise this there. re:
This would align nicely with the current use case for css module scripts. Instead of constructing a CSSStyleSheet from the .css file, this should construct an HTMLTemplateElement. The imported template could be used like this:
|
Why not allow this?
The text was updated successfully, but these errors were encountered: