<!DOCTYPE html> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script src=../../../resources/ahem.js></script> | |
<script> | |
window.onload = runRepaintAndPixelTest; | |
function repaintTest() { | |
var text = document.getElementsByTagName("text")[0]; | |
text.style.transform = 'translate(0px, 50px)'; | |
} | |
</script> | |
<body> | |
<svg width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg"> | |
<text y="80" fill="green" font-size="100" font-family="Ahem">Test</text> | |
</svg> | |
</body> |