simplecss
simplecss copied to clipboard
Why not use servo project's CSS parser + Selector?
Hi,
There's a servo project rust-cssparser that implements CSS 3 features.
Why not use that + make a thin selector on top of it?
That would make implementation of new features faster and more stable.
Unless you dont want to add another dependency?
rust-cssparser is a very heavy dependency. That's the main and only issue.
While i understand your concern, please think about it.
It would be awesome if you can focus on supporting more features in resvg (which by the way is used in everything these days, and i am really a fan of that software)
Thank you for your Interest in this.
Add rust-cssparser is half of the problem. the second half is to properly apply it to SVG. Which is far from trivial.
It wouldn't magically solve all our CSS support problem.
I will look into it when I would have time, but no idea when.