|
|
@ -1166,10 +1166,6 @@ var PDFViewerApplication = { |
|
|
|
// Firefox incorrectly reports support for the other value.
|
|
|
|
// Firefox incorrectly reports support for the other value.
|
|
|
|
'@supports ((size:A4) and (size:1pt 1pt)) {' + |
|
|
|
'@supports ((size:A4) and (size:1pt 1pt)) {' + |
|
|
|
'@page { size: ' + pageSize.width + 'pt ' + pageSize.height + 'pt;}' + |
|
|
|
'@page { size: ' + pageSize.width + 'pt ' + pageSize.height + 'pt;}' + |
|
|
|
// The canvas and each ancestor node must have a height of 100% to make
|
|
|
|
|
|
|
|
// sure that each canvas is printed on exactly one page.
|
|
|
|
|
|
|
|
'#printContainer {height:100%}' + |
|
|
|
|
|
|
|
'#printContainer > div {width:100% !important;height:100% !important;}' + |
|
|
|
|
|
|
|
'}'; |
|
|
|
'}'; |
|
|
|
body.appendChild(this.pageStyleSheet); |
|
|
|
body.appendChild(this.pageStyleSheet); |
|
|
|
|
|
|
|
|
|
|
|