the entire rule is discarded if there is some property that is not recognized in the css standards.
eg.
consider just null; without any value then the entire rule block is discarded by the parser.
Thanks Radek, the problem that we were facing has been solved. Tested it with the test case that was failing. I had forgotten to add a test case in the issue. It is as follows.
(I can't find a way to watch or star the issues on SF. Hence adding a comment and hoping to get notifications.)
I am currently working on this. The error recovery is quite complex and fixing this issue breaks other tests. I will do a complete revision.
I have made several revisions; the issue is hopefully fixed by this commit. I hope I haven't broken some other part (but the tests are passing well).
Thanks Radek, the problem that we were facing has been solved. Tested it with the test case that was failing. I had forgotten to add a test case in the issue. It is as follows.
The test case that I added in the previous comment, was the one which was failing, and after the fix it works as expected.
Closed in 1.19