qt4 - page-break-inside doesn't work in table cells with rowSpan? -
i want make pdf rendering of big report table. seems phantomjs doesn't support rowspan
attribute. here example:
phantomjs rasterize.js "http://fiddle.jshell.net/eric777/sltga/show/" report.pdf a4
here jsfiddle
and here result
is there workaround this?
edit:
maybe fix issue in webkit?
this not bug in phantomjs, how webkit handles page breaks. (chrome, too.) can see opening page in safari , trying print on "us letter" size. don't know why 3 pages on a4 size when fiddle fits 2 pages of (shorter) letter size, think beside point.
in general html pdf converters aware of have exact same problem or have such difficulty solving considered unacceptably buggy. see how avoid page break inside table row wkhtmltopdf example.
see ways use javascript webkit break table better here, along more discussion of problem.
Comments
Post a Comment