False error in css when calc uses negative number |
Site Admin
|
Thanks. Will check this.
Looks like -1 case is not defined in calc() syntax in css-values-3 https://www.w3.org/TR/css-values-3/#calc-syntax |
||||||||||||
_________________ The PHP IDE team |
|
I think it is defined, in product it uses a calc-number-value
https://www.w3.org/TR/css-values-3/#typedef-calc-number-value Which in turn could be a number-value https://www.w3.org/TR/css-values-3/#number-value Which clearly can have a sign. |
||||||||||||
|
|
Still present in 20035.
Any news on that bug? Thanks! |
||||||||||||
|
Site Admin
|
first of all, it's not a bug. Different version of standard define it differently, original css3 didn't define it at all.
2nd -- my understanding is that the issue was resolved in ~ July, at least I don't see any syntax errors for bottom:calc(var(--raggio) * -1); If I insert a space between - and 1, syntax error will be properly reported |
||||||||||||
_________________ The PHP IDE team |
|
My PHPEd tells me I'm on the latest version and I still see the bug:
margin-right:calc((var(--coldxwid) + 10px) * -1 ); Still produces an error on the minus that starts -1... |
||||||||||||
|
Site Admin
|
20035 is not the latest. Can you re-check with the latest?
|
||||||||||||
_________________ The PHP IDE team |
|
Tested with 20036 and the bug is gone!
Thank you very much! |
||||||||||||
|
False error in css when calc uses negative number |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by