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

SVG tag inside SVG tag marked red #108

Open
aeschli opened this issue May 5, 2020 · 1 comment
Open

SVG tag inside SVG tag marked red #108

aeschli opened this issue May 5, 2020 · 1 comment

Comments

@aeschli
Copy link
Contributor

aeschli commented May 5, 2020

From microsoft/vscode#64067

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
tag in element is marked as invalid / red tag name, but the following is perfectly valid svg:

Though the inner gets marked red.

image

@Strandinator
Copy link

Not sure if this is related or a separate issue.
Afaik this should also be valid:

<svg><foreignObject><div></div></foreignObject></svg>

image

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

No branches or pull requests

2 participants