chromium/third_party/blink/web_tests/virtual/text-antialias/hyphens/hyphens-orphaned-word.html

<!DOCTYPE html>
<script>
if (window.internals)
  internals.setMockHyphenation('en-us');
</script>
<style>
div {
  border: thin solid black;
  font-family: 'Courier New';
  -webkit-hyphens: auto;
  hyphens: auto;
}
</style>
<body lang="en-us">
  <p>Do not hyphenate the last word in a paragraph.</p>
  <div style="width: 15ch">This is hyphenation</div>
  <div style="width: 15ch">This is hyphenation
  </div>

  <p>Do hyphenate single word.</p>
  <div style="width: 8ch">hyphenation</div>
  <div style="width: 8ch">hyphenation
  </div>
</body>