I have an SVG file with inside
<text x="10px" y="20px" font-size="50px" style="font-family:'ArialMT', 'Arial', sans-serif;font-size:30px;fill:white;">My Text</text>
the font size is set twice, in the attribute and in the style. Every SVG viewer is rendering the text at 30px, but Affinity is rendering it at 50px.
I think priority should be on CSS styles and this is a bug.