Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14432

In the font-family attribute of css, sans-serif is given precedence regardless of its position in the list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • Some future release
    • 4.6.3, 4.7.0
    • GUI: Font handling
    • None
    • Windows XP

    Description

      When sans-serif appears in the list of font families given in the font-family attribute of a css file it seems to take precedence over all other font families given regardless of its position.

      Find attached a minimal code example that shows this problem.

      In the example given sans-serif will be used regardless of its position in the list, while removing it yields the expected result, ie. the first font in the list is used.

      Attachments

        1. WebFonts.zip
          3 kB
          Eirik Ulvik
        2. QtWebkitCSSFontTest.png
          9 kB
          Oliver Knoll
        3. QtWebkit4.7CSSFontTest.png
          11 kB
          Oliver Knoll
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            eiriku Eirik Ulvik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes