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

qmllint does not recognize "transparent" as a valid colour

    XMLWordPrintable

Details

    Description

      Window {
          width: 640
          height: 480
          visible: true
      
          Rectangle { color: "green" } // No warning (Expected) 
          Rectangle { color: "nonexistentcolor" } // `Invalid color "nonexistentcolor". [Quick.color]` (Expected)
          Rectangle { color: "transparent" } // `Invalid color "transparent". [Quick.color]` (NOT Expected)
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes