Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14290

negative letter-spacing value breaks tab indentiation in firefox

    XMLWordPrintable

Details

    Description

      On Firefox 53.0.2 (32bit) indents are broken when viewing code.

      This is the case when the code you view uses tabs as indents.

      If space is used the indents are correct.

      You can have a look at an example.

      https://bitbucket.org/frankmohaupt/public/src/111532a66d9d76ab8f0b06699fbcf5b99fb7a5ec/letter-spacing-issue.php?fileviewer=file-view-default

      NOTE: Use Firefox to see the issue.

      This issue is caused by a negative letter-spacing css setting:

      #!css
      
      letter-spacing: -0.005em;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            c3ab7bfd07ed Frank Mohaupt
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: