2 ms·
Part of an application I develop generates printed sheets for inventory. Both Safari and Chrome ignore simple things like repeated table headers and line breaks
by ultrarunner 5y ago
Part of an application I develop generates printed sheets for inventory. Both Safari and Chrome ignore simple things like repeated table headers and line breaks. I seem to remember Chrome made stranger decisions than Safari, but neither were entirely usable. Firefox is the only browser that gets that mostly right. Unfortunately Firefox needs other workarounds and no one in my organization wants to use it.
This has been my experience for years: print stylesheets are just not a major focus for browser vendors. Because I can't count on stylesheets working correctly, it's not worth investing development time. The more recent parts of the aforementioned application generate PDFs, which is probably what the print stylesheets will eventually move to.
- capitainenemo 5y agoIt's almost utterly irrelevant at this point in time, but IE was also good at printing tables. I was completely unable to get Chrome to not mangle thead/tfoot and content spanning pages. I ended up doing a horrible hack where I guesstimated the amount of content and split up a 10 page table into separate tables each well before the end of a page of print, just to support Chrome.