<!DOCTYPE html> | |
<script src="../../resources/ahem.js"></script> | |
<script src="../../resources/run-after-layout-and-paint.js"></script> | |
<svg> | |
<text y="80" font-size="100" fill="green" font-family="Ahem" style="transform: translate(100px, 100px)">X</text> | |
</svg> | |
<script> | |
runAfterLayoutAndPaint(function() { | |
document.querySelector('text').style.transform = 'none'; | |
}, true); | |
</script> |