We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.4.4
https://jsfiddle.net/sn7o1mm3/
Embed <p xmlns="http://www.w3.org/1999/xhtml"> in the svg element
<p xmlns="http://www.w3.org/1999/xhtml">
the <p> should be rendered as a htmlElment and show.
<p>
<p> did not show
seems related to this #6506
The text was updated successfully, but these errors were encountered:
Thanks @rrandom . An issue related with #6506
A svg namespace now is attached to the p element within foreignObject, so it gets an unexpected behavior.
p
foreignObject
I'm trying to fix it.
PS, it seems also broken with the previous vue version because of the isSVG check, as isSVG checks the lowercased of foreignObject
isSVG
Something more about https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
Sorry, something went wrong.
Seems that the parameter of method createElementNS is case-sensitive. https://dom.spec.whatwg.org/#internal-createelementns-steps
createElementNS
cf1ff5b
fix: use correct ns inside <foreignObject> as root node
fb0e92b
fix vuejs#6642
5965d1f
Successfully merging a pull request may close this issue.
Version
2.4.4
Reproduction link
https://jsfiddle.net/sn7o1mm3/
Steps to reproduce
Embed
<p xmlns="http://www.w3.org/1999/xhtml">
in the svg elementWhat is expected?
the
<p>
should be rendered as a htmlElment and show.What is actually happening?
<p>
did not showseems related to this #6506
The text was updated successfully, but these errors were encountered: