blob: 25f54ba2a3abd3f46c944126c075cc7c0cd74604 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<svg xmlns="http://www.w3.org/2000/svg">
<mask id="m">
<text>
<tspan id="tspan" />
</text>
</mask>
<rect width="600" height="400" mask="url(#m)"/>
<script>
window.addEventListener("load", function() {
document.getElementById("tspan").style.dominantBaseline = "alphabetic";
}, false);
</script>
</svg>
|