Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 [email protected] on 28 Nov 2012 at 4:42

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions