Skip to content
Snippets Groups Projects
  • Jared Hancock's avatar
    i18n: Let the browser truncate long texts · 51d3d240
    Jared Hancock authored
    This helps in long UTF-8 characters as the bytes were previously counted and
    the width of the characters was assumed to correlate with the count of the
    bytes in the text. This method allows the browser to calmly truncate the
    text according to the available space in the page where the text is
    rendered.
    51d3d240