WeasyPrint icon indicating copy to clipboard operation
WeasyPrint copied to clipboard

Leaders give wrong rendering with overflow-wrap: break-word

Open liZe opened this issue 3 months ago • 0 comments

<style>
  ol {
    font-family: Liberation Sans;
    overflow-wrap: break-word;
    width: 14em;
  }
  a::after {
    content: leader(".") "12345";
  }
</style>

<ol id="toc">
  <li><a href="#chapter3">The Last Chapter Very Long</a></li>
</ol>
Image

Related to unicode-org/core-spec#521.

liZe avatar Sep 09 '25 13:09 liZe