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

Add SVG <use> and @font-face as other use cases #26

Merged
merged 2 commits into from
Jan 23, 2023
Merged

Conversation

nolanlawson
Copy link
Collaborator

I recently realized that SVG <use> href references cannot cross shadow boundaries: WICG/webcomponents#772

Additionally, @font-face's font-family cannot be used across shadow boundaries either: https://robdodson.me/posts/at-font-face-doesnt-work-in-shadow-dom/ (Ahis post discusses the fact that it doesn't even work within the same shadow root, but that's a browser bug. In any case, it can't be referenced across shadow roots.)

I think it's worth calling out any cross-root use cases we can think of, just to consider if we can solve those at the same time.

@leobalter leobalter merged commit 56baf9c into main Jan 23, 2023
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