Skip to content
New issue

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

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

Already on GitHub? # to your account

[Quest]: Proper ShadowDOM support #20644

Open
7 tasks
NullVoxPopuli opened this issue Feb 4, 2024 · 0 comments
Open
7 tasks

[Quest]: Proper ShadowDOM support #20644

NullVoxPopuli opened this issue Feb 4, 2024 · 0 comments

Comments

@NullVoxPopuli
Copy link
Contributor

NullVoxPopuli commented Feb 4, 2024

Goal:

  • support rending in to a shadow-dom
  • be able to render in to a shadow-dom in a single render pass (the current way to get around limitations in ember/glimmer to render in to a shadow requires an extra render pass as well as an extra couple elements)

Potentially make this work:

const Shadowed = <template shadowmoderoot="open">

</template>;

<template>
  <Shadowed>
    
  </Shadowed>
</template>

Currently, <template shadowrootmode="open"> is not allowed in template-tag:

GlimmerVM doesn't render directly in to a shadow:

Related

Regressions?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant