NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Bug in parsing css calc expression with var()


Joined: 27 Mar 2023
Posts: 50
Reply with quote
Hello!

Just wanted to report a bug in parsing of css expressions when the expression contains a var():

Code:
flex-basis:calc((100% - ((var(--news-cols-count) - 1) * var(--news-cols-spacing))) / var(--news-cols-count));


reports an error around the last var ( var(--news-cols-count) ) when the css expression is perfectly valid (checked with the W3C css validator).
View user's profileFind all posts by ShoresOfNowhereSend private message


Joined: 27 Mar 2023
Posts: 50
Reply with quote
Bug is still present in version 21 build 21024
View user's profileFind all posts by ShoresOfNowhereSend private message


Joined: 30 May 2006
Posts: 95
Reply with quote
[quote="ShoresOfNowhere"]Bug is still present in version 21 build 21024[/quote]

If your project uses mainly javascript/css (frontend) I would recommend switching to VScode, which has way better JS/CSS parsers.
PhpEd's value is in PHP debugger - it is not great with JS/CSS support and updates are extremly slow, so you may get frustrated if you keep waiting..
View user's profileFind all posts by lubosdzSend private message
Bug in parsing css calc expression with var()
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic