ExCSS_Core icon indicating copy to clipboard operation
ExCSS_Core copied to clipboard

`calc` is not recognised as a valid value

Open rvnlord opened this issue 6 years ago • 1 comments

I had already contacted the original dev about this issue but have received no response (I hope he is alright) so I am raising an issue here as this is the most active fork.

Here is the picture:

2019-11-22_213129

It can be reproduced with ease, just place calc anywhere in your parsed css.

I am currently using the workaround which is setting tolerateInvalidValues when initializing the parser to true.

2019-11-22_212709

Also there is no out of the box comparer for the nodes, I am not sure if this is intentional or not.

rvnlord avatar Nov 22 '19 20:11 rvnlord

Hi @rvnlord . Thanks for adding this.

In order to keep the project running, I ask for people to propose a fix. Please could you create a PR and I will happily review/ merge/ update the nuget package.

JsAndDotNet avatar Nov 27 '19 11:11 JsAndDotNet