Is there an Open Source HTML renderer written in C#? [closed]
开发者_如何学JAVA
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionI started to write a HTML renderer in C# just as a learning exercise. I managed to get the simple stuff like bold and headers going. In doing so I bumped into a number of problems and I hoping I could have a look at how other people got around those problems.
You can try http://htmlrenderer.codeplex.com/ . This is a library of 100% managed code that draws beautifully formatted HTML.
http://khaos.codeplex.com/ is a project on codeplex. they trying to create wpf-based rendrer.
I forked https://github.com/LayoutFarm/HtmlRenderer from the original Html-Renderer project, and added more HTML5, CSS3, and JavaScript. It is under development, and has bugs; test it out, and feel free to comment, fork, discuss.
snapshot: nearly pass ACID1
compare with ACID1 reference on wikipedia
(from https://en.wikipedia.org/wiki/Acid1)
The short answer is 'no'. Have a look at Chris Cavanagh’s blog entry on how he embedded the Chrome HTML renderer into his WPF application. You will probably have to do something similar
精彩评论