Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.11.2
-
None
-
aaae0274353544bba9f6eb50ded6c9ffd040dc18 (qt/qtbase/dev)
Description
Hue can range from 0 to 359. However, the parser for HSV colors in style sheets always assumes 255 is the max when given a percentage.
This means that hsv(100%, 100%, 100%) is equivalent to hsv(255, 255, 255) rather than hsv(359, 255, 255). hsv(140%, 100%, 100%) does give the desired effect, but that seems a little weird.
Attachments
Issue Links
- relates to
-
QTBUG-58804 HSL value is treated as HSV
- Closed
For Gerrit Dashboard: QTBUG-70897 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
241815,4 | Qt Style Sheets: fix range of hue in hsl/hsv functions | dev | qt/qtbase | Status: MERGED | +2 | 0 |