chromium/third_party/blink/web_tests/fast/text-autosizing/textarea-fontsize-change-expected.html

<!DOCTYPE html>
<html style="font-size: 16px">
<head>

<meta name="viewport" content="width=800">
<style>
  body {
    width: 800px;
    margin: 0;
    overflow-y: hidden;
  }
  textarea::-webkit-scrollbar {
    display: none;
  }
</style>

</head>
<body>

<textarea rows="12" style="width: 100%; font-size: 2.5rem">
The text inside this textarea should be autosized to 40px computed font-size (16 * 800/320). Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</textarea>

</body>
</html>