QWebView: print with page break
-
Are you sure the stylesheet is not defined only for a specific media like screen?
Stylesheet can be specific to media type ("http://www.w3.org/TR/CSS2/media.html":http://www.w3.org/TR/CSS2/media.html ). You might want to have one for the "print" type.
-
Hum, then I guess it could be bug. Do you have the same problem with other WebKit port (Chrome, Safari, etc)?
-
Firefox is based on Gecko, not WebKit. That is a totally different engine.
-
Ok, this is a problem with the engine itself then, very likely a bug.
Could you open a bug on "https://bugs.webkit.org/":https://bugs.webkit.org/ with a test case showing the problem? You should mention you tried on QtWebKit and Chrome. The component in "Printing".
-
-
I wonder if this is related to this QWebView print issue I filed yesterday: https://bugreports.qt.io/browse/QTBUG-45572
It's a P3 priority right now, but I imagine if others are encountering it in their code and they follow the issue, it might receive more attention.