dharmeshgit / java-html2image

Automatically exported from code.google.com/p/java-html2image
0 stars 0 forks source link

The image does not consider border-collapse from tables #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Run this code:

    public static void main(String[] args) {
        HtmlImageGenerator imageGenerator = new HtmlImageGenerator();
        imageGenerator.loadHtml("<table border='1' style='border-collapse:collapse'><tr><td>aaa</td><td>bbb</td></tr><tr><td>aaa</td><td>bbb</td></tr></table>");
        imageGenerator.saveAsImage("hello-world.png");
    }

What is the expected output? What do you see instead?
The image with table with border-collapse correct

What version of the product are you using? On what operating system?
html2image-0.9.jar
Windows seven

Please provide any additional information below.
I need this urgently : )

Original issue reported on code.google.com by adrianol...@gmail.com on 28 Nov 2012 at 4:42