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
tspan
SVG:
<svg xmlns="http://www.w3.org/2000/svg" width="1500" height="600" viewBox="0 0 1500 600"> <text x="50" y="550" text-anchor="start" dominant-baseline="text-after-edge" font-family="Nunito" fill="white" style="filter:drop-shadow(0 3px 7px black)"> <tspan x="50" dy="-190" font-size="120px" font-weight="800">Every Time ✅</tspan> <tspan x="50" dy="113" font-size="66px" font-weight="800"> <tspan>hello</tspan> world </tspan> </text> </svg>
Render (notice how "hello" got shifted):
My understanding is that it should be still in line.
The text was updated successfully, but these errors were encountered:
Hm yeah, seems like a bug.
Sorry, something went wrong.
Looks like a dominant-baseline bug, but this is a super undocumented feature, so who knows how it should work exactly.
dominant-baseline
No branches or pull requests
SVG:
Render (notice how "hello" got shifted):
My understanding is that it should be still in line.
The text was updated successfully, but these errors were encountered: