View Single Post
Old 01-10-2021, 09:41 AM   #62
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,816
Karma: 6000000
Join Date: Nov 2009
Device: many
Yes it is not a fully validating parser (yet). Adding checks on specific direct internal state transitions that are not allowed will catch most of those. In other words transitioning from in import directly to in selector or in property would help detect those cases.

But the older CSSInfo did no validation at all, and incorrectly parsed valid css at times!

I will look into it. Thanks!
KevinH is online now   Reply With Quote