incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JSPWIKI-370) CSS setting prevents proper printing
Date Wed, 03 Sep 2008 19:27:44 GMT

     [ https://issues.apache.org/jira/browse/JSPWIKI-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dirk Frederickx resolved JSPWIKI-370.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8

Resolved in v2.7.0-alpha-37.

Actually, I just removed the suggested css-style for now.

I didn't have time to reproduce the issue -- so if still possible could you provide me with
the source of the wiki-page (wiki-markup). That's much easier to validate.

dirk



> CSS setting prevents proper printing
> ------------------------------------
>
>                 Key: JSPWIKI-370
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-370
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Default template
>    Affects Versions: 2.6.2
>         Environment: Linux/Fedora 6 with Firefox 1.5
>            Reporter: Terry Steichen
>            Priority: Minor
>             Fix For: 2.8
>
>         Attachments: jspwiki-common.js, jspwiki.css, jspwiki_print.css, mootools.js,
prettify.js, print_test2.html
>
>
> Though my display looks fine, when I print it (basically a large table), the first couple
of pages were blank.  To the best of my knowledge, this only happens on one particular page.
 I searched and searched through the code, convinced there was some open tag someplace.
> However I just discovered the source of the problem.  In jspwiki.css there is the following
entry:
> /* inspired by http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ and yui reset
*/
>         html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre,
>         a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd,
q, s, samp,
>         small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li,
>         fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
{
>         margin:0;
>         padding:0;
>         border:0;
>         outline:0;
>         vertical-align:baseline;
>         }
>         It turns out that the last item ("vertical-align:baseline") was the source of
the problem.  Comment it out, and the printing anomaly disappears.
> I'm uploading a html file (generated from JSPWiki) along with the associated JS and CSS
files.  As it is now configured, it should display and print fine (because that item is commented
out).  Remove the comment, and the first three pages will print with blank entries.
> This submitted at the suggestion of Dirk Fredrickx.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message