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

QLiteHtmlWidget doesn't format a list into a table cell properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.0 RC
    • None

    Description

      I noticed this while working on https://codereview.qt-project.org/c/qt/qtdeclarative/+/469255

      /*!
          \qmlproperty object Qt::platform
          \since 5.1
      
          The \c platform object provides info about the underlying platform.
      
          Its properties are:
      
          \table
          \row
          \li \c platform.os
          \li
      
          This read-only property contains the name of the operating system.
      
          Possible values are:
      
          \list
              \li \c "android" - Android
              \li \c "ios" - iOS
              \li \c "tvos" - tvOS
              \li \c "linux" - Linux
              \li \c "osx" - \macos
              \li \c "qnx" - QNX (since Qt 5.9.3)
              \li \c "unix" - Other Unix-based OS
              \li \c "windows" - Windows
              \li \c "wasm" - WebAssembly
          \endlist
      
          \row
          \li \c platform.pluginName
          \li This is the name of the platform set on the QGuiApplication instance
              as returned by \l QGuiApplication::platformName()
      
          \endtable
      */
      

      It looks ok in the browser: https://doc-snapshots.qt.io/qt6-dev/qml-qtqml-qt.html#platform-prop

      But in Assistant it looks like this:

      The list went above the entire table, instead of inside one cell of the table.

      Perhaps we could try a 3-column table with colspans or something like that; because the \list is not ideal anyway. I was trying \value but of course that was not a good idea (then it would be a nested table).

      Attachments

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

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes