Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
4.8.4
-
None
-
Windows XP SP3, MinGW, GCC 4.6.2, Qt Creator 2.6.0
-
bbe08d6b686456297ad4ab8c0923c3126e02e2b3
Description
When I put an whitespace between 'qlineargradient' and opening brace, I get error 'Could not parse application stylesheet'.
/* works */
qlineargradient( /.../ )
/* doesn't work */
qlineargradient ( /* ...*/ )
The same behavior I noticed with url(), etc.
If there are braces inside the braces, the situation becomes more complicated.
/* works */
background-color: qlineargradient(spread:reflect, stop: 0 rgb(102, 102, 102) );
/* doesn't work */
background-color: qlineargradient( spread:reflect, stop: 0 rgb(102, 102, 102) );
Now I can't put whitespace after the opening brace too.
Is it the desired behavior or it's some kind of bug?
SUGGESTION: Remove the dependancy on whitespaces.
Attachments
Issue Links
- duplicates
-
QTBUG-61795 QLinearGradient StyleSheet doesn't accept rgb(a) colors
- Closed