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

Make some ShadowRoot attributes mutable #1252

Open
mfreed7 opened this issue Feb 6, 2024 · 0 comments
Open

Make some ShadowRoot attributes mutable #1252

mfreed7 opened this issue Feb 6, 2024 · 0 comments
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: shadow Relates to shadow trees (as defined in DOM)

Comments

@mfreed7
Copy link
Contributor

mfreed7 commented Feb 6, 2024

What is the issue with the DOM Standard?

See whatwg/html#10107 for context.

But some fields of ShadowRoot feel like they could easily be made mutable:

  • delegatesFocus
  • clonable
  • serializable (hopefully coming soon)

Others might be more difficult or not desirable:

  • mode
  • slotAssignment
  • host

Should the first set be made mutable?

Also from this comment, it would make sense if mutating any such attributes also set the declarative flag to false.

@annevk annevk added topic: shadow Relates to shadow trees (as defined in DOM) needs implementer interest Moving the issue forward requires implementers to express interest addition/proposal New features or enhancements labels Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: shadow Relates to shadow trees (as defined in DOM)
Development

No branches or pull requests

2 participants