tray
tray copied to clipboard
@media print CSS
Migrated from https://github.com/qzind/qz-print/issues/190.
@vt09 wrote:
Currently, html content under @media print style still appear in rendered file.
For example, we have setting as below.
/*HIGHLIGHT/NOTIFICATION PAGE DOESN'T NEED TO BE PRINTED*/
@media print {
#page0 {
display:none;
}
}
... or
From the mailing list:
@media print { .pagebreak {page-break-after: always;}}
<div id="page0">
<b style="font-size:40px;">Payment type of this order:</b>
<h1>Cybersource_CreditCard</h1>
<br/>
<hr color="#000000" />
<br/>
</div>
Do our printHTML support this style?
It appears JavaFX does not support the @media
tag currently per: https://bugs.openjdk.java.net/browse/JDK-8091994
Closing as wont-fix for now. We can reopen this issue if Oracle changes this behavior down the road.
hi any fix for this one??
Filed private bug report SUPQZ-10
with FX support provider against upstream https://bugs.openjdk.java.net/browse/JDK-8092014.