JsAndDotNet/ExCSS_Core

`calc` is not recognised as a valid value

rvnlord opened this issue · 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.

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.