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

QTextBrowser doesn't show all html content correctly

XMLWordPrintable

    • 35579f6fe73edcc61a266ba16d25d6c97f1dd225 (qtbase)

      QTextBrowser doesn't show html content correctly. At least not similar than Qt3TextBrowser or Webview. So it's somekind of regression from Qt3.

      Used html tags are listed in Qt documentation so those should be supported:
      http://qt-project.org/doc/qt-5.1/qtgui/richtext-html-subset.html

      Attached example shows tree widget windows: Qt3TextBrowser, QTextBrowser and QWebView with same content to compare.
      Problem is with <blockquote> and empty <a name="123"> </a>. <a name> ignores <blockquote>. Other is <table> in <dl> list.

      Test application in Qt4 with qt3support to see all widgets to compare.

        1. HTML_Files.zip
          6 kB
          Horst Anselm
        2. TextBrowserHtml.zip
          2 kB
          Qt Support
        For Gerrit Dashboard: QTBUG-33336
        # Subject Branch Project Status CR V

            esabraha Eskil Abrahamsen Blomfeldt
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes