Open GoogleCodeExporter opened 9 years ago
There is also a awesome css parser that I found on code project
http://www.codeproject.com/KB/recipes/CSSParser.aspx
Original comment by jake....@gmail.com
on 29 Oct 2009 at 1:32
I'm looking at the implementation of CssParser.calculate_specificity and it's
so
dead simple that it would stand on its own fine without any help from Fizzler.
The
only downside is that this implementation assumes a valid selector syntax. I've
attached a C# port with tests.
The Fizzler way to address this, though slightly more involved, would be to
write an
ISelectorGenerator implementation that carries out the calculation. The upside
here
would be calculation over a validated syntax.
Thoughts?
Original comment by azizatif
on 29 Oct 2009 at 11:50
Attachments:
Original issue reported on code.google.com by
jake....@gmail.com
on 29 Oct 2009 at 1:28