<!DOCTYPE html>
<html>
<head><script>window.addEventListener("load", function() { var t = document.getElementById("t"); t.appendChild(t.previousSibling); }, false);</script></head>
<body><fieldset><legend></legend><textarea id="t"></textarea></fieldset></body>
</html>