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

🐛 propagate privacy defined on shadow hosts #2454

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

BenoitZugmeyer
Copy link
Member

Motivation

Setting a privacy attribute directly on a shadow host element does not propagate the privacy to its children.

Changes

Factorize the way we serialize "normal" children with the way we serialize shadow roots.

Before:
Screenshot 2023-10-06 at 14 39 27

After:
Screenshot 2023-10-06 at 14 39 54

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested review from a team as code owners October 6, 2023 12:40
@bcaudan bcaudan merged commit 71a62e9 into main Oct 9, 2023
@bcaudan bcaudan deleted the benoit/fix-shadow-root-privacy-propagation branch October 9, 2023 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants