Reading SVG does not respect dominant-baseline="middle" attribute
For <text> elements
dominant-baseline="hanging" and dominant-baseline="baseline" are parsed correctly, with text aligned on top and bottom, respectively.
But dominant-baseline="middle" is not respected, and is instead rendered as dominant-baseline="baseline".
This produces misaligned text, which is displayed aligned normally by Edge, Firefox, Chrome.
Cheers
Juraj
10
votes

-
Nathan Bubna commented
dominant-baseline="hanging" does not appear to be working for me.