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

"background-color" css style in QML TextEdit does not work on most tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.5.0
    • Labels:
      None
    • Environment:
      Kubuntu 12.04 64bit
    • Commits:
      f09bd9825b29612f98d884460504b07150bcb639

      Description

      Setting the background-color css-style in the text of a QML TextEdit item has no visible effect on most tags.
      The only tags where it works are the <table> and the <body> tag.
      When using these tags, the background color is displayed as expected.
      Every other tag I've tried (<p>, <span>, <td>, <tr> ...) seem to ignore
      the background-color.

        Attachments

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

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            lkdem Ludger Krämer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes