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

Vertical alignment of image within <td> crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.5, 5.13.1
    • 5.13.0
    • GUI: Text handling
    • None
    • dfc6dc1d94a729f701172861a196b4b34bcd7518

    Description

      If I use RichText in a QML Text object, and place the following text into it:

      <table><tr><td/><td valign="top"><img src="x.png"></td></tr></table>

      where x.png is any image file, it crashes. The requirements for the crash are:

      • It must be an image. It doesn't crash if the file doesn't exist.
      • It must be within a <td>
      • It must be in the second or later table column (hence the <td/>).
      • It must either have a valign="top" attribute or be styled with vertical-align: top, or the equivalent bottom; the defaultĀ middle is okay.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            pderocco Paul DeRocco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes