Radio Buttons not printed correctly
Posted: Fri Mar 29, 2019 3:48 am
Hi!
One of our customers has reported a strange behavior when printing a HTML site containing some radio buttons:
All non radio button content is printed correctly, but the radio buttons are missing.
Instead on the upper left part of the page some dots are printed that are not part of the HTML.
It seems that the missing radio buttons are printed smaller and on the wrong place (as if only the radio buttons are rendered with another shrink factor or something like that).
I extracted a HTML file to reproduce the problem easier and after some research we see the following facts:
The print works as expected in all current browsers (current versions of Chrome, Firefox, Chromium; did not test IE and Edge; see printResults attachments).
The print does not work in following JCEF versions (tested in detailed test program):
[*] 3.2704 (used in customer environment)
[*] 3.3325 (currently our development version)
[*] 3.3683 (latest jcef version)
As far as I have analyzed for now:
radio button printing itself works, I could test it with an easy HTML form containing radio input fields by myself.
the problematic radio buttons have a css class behind, unfortunatly I don't have access to all involved files.
On the other hand the problem is reproducable with a standalone HTML without having the other CSS files available.
Are there any problems regarding css and HTML printing known in JCEF so far?
A quick search in the forums didn't bring any results.
All relevant files are attached (problematic HTML in radioButtonsTest.zip), Screenshots of the printing results (used Microsoft Print to PDF, but result of pdf print is identical to physical prints) in printResults.zip.
Our environment:
Several Windows machines on versions 10, 8, 7.
JCEF is used in 32bit mode.
One of our customers has reported a strange behavior when printing a HTML site containing some radio buttons:
All non radio button content is printed correctly, but the radio buttons are missing.
Instead on the upper left part of the page some dots are printed that are not part of the HTML.
It seems that the missing radio buttons are printed smaller and on the wrong place (as if only the radio buttons are rendered with another shrink factor or something like that).
I extracted a HTML file to reproduce the problem easier and after some research we see the following facts:
The print works as expected in all current browsers (current versions of Chrome, Firefox, Chromium; did not test IE and Edge; see printResults attachments).
The print does not work in following JCEF versions (tested in detailed test program):
[*] 3.2704 (used in customer environment)
[*] 3.3325 (currently our development version)
[*] 3.3683 (latest jcef version)
As far as I have analyzed for now:
radio button printing itself works, I could test it with an easy HTML form containing radio input fields by myself.
the problematic radio buttons have a css class behind, unfortunatly I don't have access to all involved files.
On the other hand the problem is reproducable with a standalone HTML without having the other CSS files available.
Are there any problems regarding css and HTML printing known in JCEF so far?
A quick search in the forums didn't bring any results.
All relevant files are attached (problematic HTML in radioButtonsTest.zip), Screenshots of the printing results (used Microsoft Print to PDF, but result of pdf print is identical to physical prints) in printResults.zip.
Our environment:
Several Windows machines on versions 10, 8, 7.
JCEF is used in 32bit mode.