|
<script>
|
|
window.onload = () => {
|
|
a.style.setProperty("scale", "3")
|
|
a.clientTop
|
|
a.style.setProperty("offset", "path('M1 6')0deg")
|
|
|
|
b.style.setProperty("offset", "path('M100 6')0deg")
|
|
}
|
|
</script>
|
|
<svg>
|
|
<text id="a"></text>
|
|
<foreignObject id="b"></foreignObject>
|
|
</svg>
|