Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19071

The character-breaking behavior is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.9-rc-1
    • Live Data, LiveTable
    • Unknown

    Description

      See the screenshots below, in particular in the first column, some line breaks are happening in the middle of words. Instead, line breaks must happen in between words as much as possible.

      Note: The word-break behavior has been introduced by XWIKI-17211 (https://github.com/xwiki/xwiki-platform/commit/41c58b0d1b720ab3db4e9b7102fc3ae183a3c0d5).

      Before XWIKI-17211, when the lines cannot be broke further (i.e., no column width can be made smaller) , a scroll bar appears at the bottom of the screen. After, words can be split at arbitrary points. Consequently, no overflow can appear and the horizontal scrollbar is never displayed.

      Observation: When the words on the cells are known words for the a dictionary known for the browser and matching the lang="XX" attribute of the html tag of the page, hyphenation is properly applied at the right place in the words (and a '' character is displayed). This is not the case for "technical" vocabulary (e.g., XClass names, Documents names) which are often not part of any official dictionary, and in this case, split are applied arbitrarily, without a '' displayed.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: