<style>
text::first-letter {}
</style>
<script>
function js() {
a.setAttribute("fill", "url()");
}
</script>
<body onload=js()>
<svg>
<text id="a">aa</text>