`<style webc:scoped @html>` doesn’t process scoped content
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 46
- Avg merge
- 10m
- Merged PRs (30d)
- 2
Description
<style webc:scoped @html="`:host {}`">
Returns :host {} in the CSS bundle.
Workaround is to use child content for now:
<style webc:scoped>
:host {}
</style>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the shown <style webc:scoped @html=":host {}"> example and compare its CSS bundle output with the child-content workaround. Trace the scoped-style processing entry point and make the @html content behave like inline scoped content; done means the CSS bundle contains the expected scoped result rather than the raw template expression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100