-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
feat(custom-element): Support css :host
selector
#8830
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
In this pr, if sfc is rendered as a custom element, the css variables of its normal element tags (div, span...) will be promoted to the style attribute of the tag of the custom element, and it is compatible with pr #7942
|
哎 快点合并吧 这个问题严重阻塞开发进度了 |
I like it. Is there any way to promote a normal css style like Does this work for any size component? What about child components, would the propagation stop at their root element? What if there are multiple root elements? |
…ctor # Conflicts: # packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts
Size ReportBundles
Usages
|
CodSpeed Performance ReportMerging #8830 will not alter performanceComparing Summary
|
# Conflicts: # packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts # packages/runtime-dom/src/helpers/useCssVars.ts
# Conflicts: # packages/runtime-dom/__tests__/helpers/useCssVars.spec.ts # packages/runtime-dom/src/helpers/useCssVars.ts
close: #8826