I'm doing an SVG, I need to show a measure and I want to put text vertically, using writing-mode: tb; everything perfect in chrome, IE, Opera and Safari but in firefox the text appears horizontal.
<svg version="1.1" viewBox="100,100" preserveAspectRatio="xMidYMin">
<style type="text/css">
.cota-text {
fill: #000;
font-size: 10px;
text-anchor: middle;
}
.cota-vertical {
writing-mode: tb;
}
</style>
<text x="10" y="10" class="cota-text cota-vertical">TEXT</text>
</svg>
I have no clue what could be causing the issue. Could someone please help me troubleshoot?
fiddle: