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

QML Type TextArea or TextEdit doesn't render CSS table and table cell border correctly

    XMLWordPrintable

Details

    • Windows
    • e7ac69eeb (dev), d55d00ea6 (6.7)

    Description

      Qt user raised following finding:
      "
      When uses Qt Widget: QTextEdit and calls setHtml() to load a html document the CSS table border style is rendered correctly. But load the same html file using QML TextEdit's QTextDocument the border style doesn't render correctly. Only the border-style: solid is recognized other style likes dashed, dotted were not rendered for table border. For the table cell border nothing was rendered.
      "

      This can be reproduced using Qt Quick Text Editor Example and for Widgets QTextTableBorders example at: Qt6.6.0/6.6.0/Src/qtbase/tests/manual/qtexttableborders

      Attachments

        1. table-border-test.html
          5 kB
        2. Use QML TextArea.png
          Use QML TextArea.png
          186 kB
        3. Use QTextEdit Widget.png
          Use QTextEdit Widget.png
          211 kB

        Issue Links

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

          Activity

            People

              santhoshkumar Santhosh Kumar Selvaraj
              tero.pelkonen Tero Pelkonen
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes