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

QTextBrowser doesn't show all html content correctly

    XMLWordPrintable

    Details

    • Commits:
      35579f6fe73edcc61a266ba16d25d6c97f1dd225 (qtbase)

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes