Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15, 6.5
-
None
Description
Years ago, a change to qcssparser introduced the possibility to use float values for the alpha component in stylesheets.
While the support may be welcome, it makes using 0-255 integer values problematic (which is what the documentation states should be done) because 1 is always interpreted as 1.0.
While it may be argued that 1 would be practically transparent and one would theoretically never need such a value, it's still a problem in case style sheets might be computed dynamically, and completely inconsistent with the documented behavior.