Uploaded image for project: 'Qt WebBrowser'
  1. Qt WebBrowser
  2. QTWB-10

Incorrect Font family when writing generic family in CSS in QT5.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 1.0
    • General
    • None
    • Linux

    Description

      I am using QT5.3.
      Text is displayed in Serif font, even when sans-serif is written in the CSS.
      Below is the minimal HTML code.
      =============
      <style>
      #id1

      { font-family: sans-serif; }

      </style>
      <body>
      <p id="id1">ABCDEFGHIJKLMN</p>
      </body>
      =============

      Available fonts on my system are following:-

      Palatino
      Helvetica
      Geneva
      New York
      Monaco
      Times
      Courier
      Arial
      HYGoThic-Medium
      Helvetica
      Helvetica Condensed
      HGPGothicB
      HGPMinchoL
      MHei Bold CP950
      Monotype Hei Bold GB 18030
      NimbusSansGlobal
      Times New Roman
      TT Hira Sans GB P W3
      TT Hira Sans Rd JP P W4
      TT Hira Sans TC P W3
      Univers OTS

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            mittalv Varun Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes