Steps to reproduce
SVG claims feature#Text but does not follow spec.
SVG text does not obey alignment-baseline value such as "central".
When Chinese text is rendered with attribute writing-mode="tb-rl", then it is painted vertically. However, the SVG spec states that vertical writing implies attribute dominant-baseline="central", so characters should be centered on the vertical line. Instead, they are painted to the right of the line.
Go to this link
and look at the "live sample". In Edge, all glyphs are painted above the origin. In Chrome, the painting is appropriate.
Or load this image:
The Chinese characters should be centered about the vertical line, but they are not. Chrome centers them.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Changed Assigned To to “Bogdan B.”
Changed Status to “External”
Thanks for your feedback! I duped this to the existant entry for dominant-baseline in our feature backlog.
This issue has been resolved External. This means this issue may require a new feature to be implemented or other work that is more significant than a typical bug. You may be able to find more information on this issue by searching for related features on status.microsoftedge.com and uservoice.microsoftedge.com.