<!DOCTYPE html>
<html>
  <body style="width: 0">
    <fieldset>
      <legend style="white-space: normal">Legend textstuffandall</legend>
      Text
    </fieldset>
  </body>
</html>