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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -