Bugzilla – Attachment 19007 Details for
Bug 10451
Firefox prints only first page of table with shrink to fit option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10451 - Firefox prints only first page of table with shrink to fit option
Bug-10451---Firefox-prints-only-first-page-of-tabl.patch (text/plain), 1.32 KB, created by
Dobrica Pavlinusic
on 2013-06-14 13:02:02 UTC
(
hide
)
Description:
Bug 10451 - Firefox prints only first page of table with shrink to fit option
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2013-06-14 13:02:02 UTC
Size:
1.32 KB
patch
obsolete
>From 5055634041ce7b0c460c5ab0ee9eb0de1dfa4d7e Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Wed, 12 Jun 2013 16:59:44 +0200 >Subject: [PATCH] Bug 10451 - Firefox prints only first page of table with shrink to fit option > >According to Firefox bug tracker, versions up to 21 doesn't print >tables correctly when using shrink to fit option. See: > >https://bugzilla.mozilla.org/show_bug.cgi?id=684622 > >However, even with v21 or newer, we still need to add css to >print media which instruct it not to break table tag to print >all pages of table. This has a side-effect that table starts >always on next page, wasting some space on first printed page >(but only in Firefox since CSS selector is specific to it). >--- > koha-tmpl/intranet-tmpl/prog/en/css/print.css | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/print.css b/koha-tmpl/intranet-tmpl/prog/en/css/print.css >index 239059c..ffd9630 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/print.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/print.css >@@ -97,6 +97,13 @@ table { > width : 99%; > } > >+@-moz-document url-prefix() { >+ table { >+ /* tries to fix firefox 21+ shrink-to-fit */ >+ page-break-inside: avoid; >+ } >+} >+ > table.list { > background-color : #FFFFFF; > border : 0; >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10451
:
18905
|
19007
|
24049