Closed Bug 268659 Opened 20 years ago Closed 19 years ago

Print preview extends printing well beyond footer. Only one page printed.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 261743

People

(Reporter: craig, Assigned: bugzilla)

References

()

Details

Attachments

(6 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Visited http://www.which.co.uk/health/reports/aug2004he30t35/07elip.jsp
(Note this URL has restricted access)

Wanted to print page, looks like about 2 pages of A4. However when I print
preview, the text keeps extending off the bottom of the page and print preview
only indicates one page. When actually printing, only one page is printed. 

I have copied and pasted the source of the page into http://infohound.net/tidy/
and validated it and this turned up four faults:


warn    35  	Warning: <a> id and name attribute value mismatch
<A ID="TOP" NAME="top"></A>
warn 	91 	Warning: unescaped & which should be written as &amp;
<a href='/whichextra/content/food_and_health/home.jsp'>Food & health</a>
warn 	93 	Warning: unescaped & which should be written as &amp;
<a
href='/whichextra/content/food_and_health/health_beauty_products/reportsarchive.jsp'>Health
& beauty products</a>
warn 	150 	Warning: <table> lacks "summary" attribute

The fault is also present in Mozilla 1.8a4




Reproducible: Always
Steps to Reproduce:
1. Load page in browser
2. Print Preview
3. Print

Actual Results:  
Printed one page

Expected Results:  
Printed all the page, (about 2 pages of A4)

Page source - supplying this as content is restricted.

<HTML><HEAD>
<!--

-->
<TITLE>Which? Extra: Exercise Machines</TITLE><META CONTENT="text/html;
charset=ISO-8859-1" HTTP-EQUIV="CONTENT-TYPE"><META CONTENT="text/css"
HTTP-EQUIV="CONTENT-STYLE-TYPE"><LINK REL="stylesheet"
HREF="/css/wx_reports.css" TYPE="text/css"><LINK REL="stylesheet"
HREF="/css/styles-basefonts.css" TYPE="text/css"><LINK REL="stylesheet"
HREF="/css/styles-global.css" TYPE="text/css"><LINK REL="stylesheet"
HREF="/css/report_style.css" TYPE="text/css"><LINK
HREF="/css/colours-foodandhealth.css" REL="stylesheet" TYPE="text/css"
MEDIA="screen"><SCRIPT TYPE="text/javascript"
SRC="/whichextra/templates/wextra_util.js"
LANGUAGE="JavaScript1.2"></SCRIPT><SCRIPT TYPE="text/javascript"
SRC="/whichextra/templates/global.js" LANGUAGE="JavaScript"></SCRIPT><!-- SCRIPT
tag not found in content -->
<STYLE TYPE="text/css">
<!--
@import url(/css/wol_reports.css);
-->

#image1 img {border:0;}
#image1 {width:120px;}

#image2 img {border:0;}
#image2 {width:120px;}

#image3 img {border:0;}
#image3 {width:120px;}

#image4 img {border:0;}
#image4 {width:120px;}

.WHITECELL {text-align:left; font-size:10px; font-family: Trebuchet MS, arial,
sans-serif;}
.WHITECELLB {text-align:left; font-size:10px; font-family: Trebuchet MS, arial,
sans-serif; font-weight:bold;}

</STYLE></HEAD><BODY ONLOAD="initialiseMenus(2);">
<!-- Login --> 

<SCRIPT TYPE="text/javascript">
global.category = 'Food and health';
global.subcategory = 'Health/beauty products';
global.product = '';
</SCRIPT>
<DIV ID="CONTAINER">
<A ID="TOP" NAME="top"></A>
<DIV ID="SKIP-LINK">
<A ACCESSKEY="2" HREF="#start-maincontent"><IMG ALT="" WIDTH="1" HEIGHT="1"
SRC="/images/1.gif"></A><BR></DIV>

<DIV ID="LOGO">

<A ACCESSKEY="1" HREF="/whichextra/content/main/home.jsp"><IMG ALT="Which? Extra
homepage" WIDTH="250" HEIGHT="53" SRC="/images/logo_food_and_health.gif"></A>
</DIV>

<P CLASS="oldbrowser-message">
<STRONG>This site will look much better in a browser that supports web
standards, but it is accessible to any browser or Internet device.</STRONG>
</P>

<DIV ID="OTHER-SITES">
<FORM NAME="otherSites" ACTION="#">
<SELECT><OPTION SELECTED="SELECTED">Other Which? sites</OPTION><OPTION
VALUE="http://www.which.co.uk/">Which? Online</OPTION><OPTION
VALUE="https://shop.which.net/shop/shopcontents.html">Bookshop</OPTION><OPTION
VALUE="http://www.which.net/campaigns/contents.html">Campaigns</OPTION><OPTION
VALUE="http://www.which.net/corporate/contents.html">Corporate</OPTION><OPTION
VALUE="http://www.which.net/media/contents.html">Media Centre</OPTION><OPTION
VALUE="http://www.endowmentaction.co.uk/">Endowment Action</OPTION><OPTION
VALUE="http://www.switchwithwhich.co.uk/">Switch with Which?</OPTION></SELECT>

<INPUT ONCLICK="goTo(document.otherSites);return false;" CLASS="button"
TYPE="SUBMIT" VALUE="go"></FORM>
</DIV>

<DIV ID="NAV-PLACEHOLDER">
<DIV CLASS="nav" ID="NAVTITLE0">| <A
HREF="/whichextra/content/main/help.jsp">Help</A><BR><DIV CLASS="nav-body"
ID="NAVBODY0">
<A HREF="/whichextra/content/main/sitemap.jsp">Site map</A>
<A HREF="/whichextra/content/main/faqs.jsp">FAQs</A>
<A HREF="/whichextra/content/main/downloading-pdfs.jsp">Downloading PDFs</A>
<A HREF="/whichextra/content/main/accessibility.jsp">Accessibility</A>
<A HREF="/whichextra/content/main/change-details.jsp">Change details</A>

</DIV>
</DIV>
<DIV CLASS="nav">| <A HREF="/whichextra/content/main/contactus.jsp">Contact
us</A></DIV>
<DIV CLASS="nav">| <A HREF="/whichextra/content/main/aboutus.jsp">About us</A></DIV>
<DIV CLASS="nav" ID="NAVTITLE1">| <A
HREF="/whichextra/content/main/member-benefits.jsp">Member benefits</A><BR><DIV
CLASS="nav-body" ID="NAVBODY1">
<A HREF="/whichextra/content/main/competitions.jsp">Competitions</A>
<A HREF="/whichextra/content/main/factsheets.jsp">Factsheets</A>
<A HREF="/whichextra/content/main/email-newsletter.jsp">E-mail newsletter</A>

<A HREF="/whichextra/content/main/shopping-partners.jsp">Shopping partners</A>
</DIV>
</DIV>
<DIV CLASS="nav">| <A HREF="/whichextra/content/main/home.jsp">Home</A></DIV>
</DIV>
<DIV><BR></DIV>

<DIV ID="SEARCH-BAR">
<FORM NAME="site-search" ACTION="/whichextra/content/main/searchresults.jsp">
<LABEL FOR="SEARCH">Search </LABEL>
<INPUT CLASS="search" ID="SEARCH" SIZE="15" ACCESSKEY="4" NAME="words"
TYPE="TEXT"><INPUT CLASS="button" TYPE="SUBMIT" VALUE="go"><A
HREF="/whichextra/content/main/search.jsp">Advanced search »</A>	
</FORM>

</DIV>


<DIV ID="BREADCRUMBS">
<a href="/whichextra/content/main/home.jsp">All Categories</a>
 &#187; 
<a href='/whichextra/content/food_and_health/home.jsp'>Food & health</a>
 &#187; 
<a
href='/whichextra/content/food_and_health/health_beauty_products/reportsarchive.jsp'>Health
& beauty products</a>
 &#187; Reports archive


</DIV>
<DIV ID="LEFT-CONTENT">
<DIV ID="SIDE-NAV">
<STRONG><A HREF="/whichextra/content/main/home.jsp">All Categories</A></STRONG> 
<STRONG CLASS="level-report">Health &amp; beauty products</STRONG>


</DIV>
<DIV CLASS="promo-space">
<STRONG>Switch to a better mortgage</STRONG><BR>
Which? has created <A TARGET="_blank"
HREF="http://www.switchwithwhich.co.uk">Switch with Which?</A> to help you save
money on your mortgage repayments.



</DIV>
<DIV ID="AD-FREE-ZONE">
<img src="/images/adfree.gif" width="135" height="21" alt="This is an ad-free
zone" /><br />
<p>
To stay impartial and independent, <a
href="/whichextra/content/main/ad-free.jsp">Which? accepts no advertising</a>.
</p>	


</DIV>
</DIV>
<DIV ID="MAIN-CONTENT-FULL">
<A NAME="start-maincontent"></A>
<DIV CLASS="reporttitle">
<DIV CLASS="reportname"><H1>Exercise Machines</H1></DIV>
<DIV CLASS="reportdate">August 2004
</DIV>

</DIV>

<BR CLEAR="ALL">
<DIV ID="SUBSECTION-LINKS">
<!-- Title string is :  Exercise Machines -->
<!-- Number of pages for this report is :  11 -->
<a href="/health/reports/aug2004he30t35/01frontpage.jsp">Front Page</a> | <a
href="/health/reports/aug2004he30t35/02feat.jsp">Features, Fun and Fitness</a> |
<a href="/health/reports/aug2004he30t35/03bike.jsp">Exercise Bikes</a> | <a
href="/health/reports/aug2004he30t35/04bike.jsp">Exercise Bikes : II</a> | <a
href="/health/reports/aug2004he30t35/05gold.jsp">Case Study</a> | <a
href="/health/reports/aug2004he30t35/06elip.jsp">Elliptical Trainers</a> |
<SPAN>Elliptical Trainers : II</SPAN> | <a
href="/health/reports/aug2004he30t35/08con.jsp">Case Study : II</a> | <a
href="/health/reports/aug2004he30t35/09tread.jsp">Treadmills and Rowing
Machines</a> | <a href="/health/reports/aug2004he30t35/10small.jsp">Small
Exercise Gadgets</a> | <a
href="/health/reports/aug2004he30t35/11contacts.jsp">Contacts</a>

</DIV>

<HR><A NAME="cont"></A>

<H2 ID="TOP07">Elliptical Trainers : II</H2>


<UL CLASS="small-list"><LI><A HREF="06elip.jsp#E01">Bremshey Orbit Control</A> |
</LI><LI><A HREF="06elip.jsp#E02">V-fit Met 4</A> | </LI><LI><A
HREF="06elip.jsp#E03">Vision Fitness X6200HRTDA</A> | </LI><LI><A
HREF="#E04">Body Sculpture  BE 5920 Aero Elliptical Strider</A> | </LI><LI><A
HREF="#E05">Carl Lewis Fitness ELM20</A> | </LI><LI><A HREF="#E06">Pro Action
G241 Sfera Program</A> | </LI><LI><A HREF="#E07">Tunturi C6</A> </LI></UL>

<BR><DIV CLASS="key-right">
<STRONG>Key</STRONG>
<SPAN>best<IMG ALT="Key to ratings" SRC="/pics/key.gif">worst</SPAN>
</DIV>

<TABLE ID="TEST" BORDER="0" CELLPADDING="3" CELLSPACING="0"><TBODY><TR><TD
WIDTH="170"> </TD><TD WIDTH="20"> </TD></TR><TR><TD CLASS="Z91_COL3_LF_B_10"
COLSPAN="2">Total Test Score</TD></TR><TR><TD CLASS="WHITECELL" COLSPAN="2">This
ignores price and is based on:</TD></TR><TR><TD CLASS="WHITECELLB">Suitability
for intended use</TD><TD CLASS="WHITECELL">30%</TD></TR><TR><TD
CLASS="WHITECELLB">Convenience</TD><TD CLASS="WHITECELL">20%</TD></TR><TR><TD
CLASS="WHITECELLB">Features</TD><TD CLASS="WHITECELL">20%</TD></TR><TR><TD
CLASS="WHITECELLB">Performance</TD><TD CLASS="WHITECELL">10%</TD></TR><TR><TD
CLASS="WHITECELLB">Construction and durability</TD><TD
CLASS="WHITECELL">10%</TD></TR><TR><TD CLASS="WHITECELLB">Safety</TD><TD
CLASS="WHITECELL">10%</TD></TR></TBODY></TABLE>

<BR><BR><SPAN CLASS="TEXT_COL" ID="E04">Body Sculpture</SPAN> BE 5920 Aero
Elliptical Strider<BR><SPAN CLASS="PRICE">£<B>120</B></SPAN>

<DIV CLASS="img120r" ID="IMAGE1">
<IMG ALT="Body Sculpture  BE 5920 Aero Elliptical Strider" WIDTH="120"
HEIGHT="160" SRC="images/e04.jpg"></DIV>

<P>
Avoid this machine as it's just too limited. There are no exercise programmes,
and exercising is unpleasant thanks to wobbly arms that swing back and hit you
in the chest, and a 'vertical and very jerky' movement. It's hard to increase
the resistance mechanism, the display is 'very boring', and its position makes
it hard to read or to change the mode. Not only this, but the noisy fan wheel
annoyed our users.
</P>

<P>
<B>Max user weight</B>  100kg  <BR><B>Floor area needed</B>  112 x 50cm 
<BR><B>Feedback</B>  Time, distance, speed, calories  <BR><B>Interest</B>  <IMG
ALT="below average" SRC="/pics/hcircle.gif"><BR><B>Comfort</B>  <IMG ALT="below
average" SRC="/pics/hcircle.gif"><BR><B>Suitability</B>  <IMG ALT="below
average" SRC="/pics/hcircle.gif"><BR><B>Ease of use</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"><BR><B>Construction</B>  <IMG ALT="below average"
SRC="/pics/hcircle.gif"><BR><B>Features</B>  <IMG ALT="below average"
SRC="/pics/hcircle.gif"></P>

<SPAN CLASS="PRICE">Total Test score <B>44</B>%</SPAN>

<HR CLASS="hrrep"><DIV ALIGN="RIGHT"><SMALL><A HREF="#top07">top</A></SMALL></DIV>


                                     


<SPAN CLASS="TEXT_COL" ID="E05">Carl Lewis Fitness</SPAN> ELM20<BR><SPAN
CLASS="PRICE">£<B>190</B></SPAN> 


<DIV CLASS="img120r" ID="IMAGE2">
<IMG ALT="Carl Lewis Fitness ELM20" WIDTH="120" HEIGHT="160"
SRC="images/e05.jpg"></DIV>

<P>
This machine is 'horrible... looks and feels cheap'.  Small foot platforms and
short handles make it unsuitable for taller people. Meanwhile, the 'jerky 
up-and-down motion', wobbly handlebars, lack of resistance control, and creaking
frame will render it too irritating for everyone else.</P><P>

Its only saving graces are a tempo function, which emits beeps for you to
exercise in time with, and a hand-grip heart-rate monitor.
</P>

<P>
<B>Max user weight</B>  120kg  <BR><B>Floor area needed</B>  180 x 110cm 
<BR><B>Feedback</B>  Time, distance, calories, speed, pulse, RPM, number of
steps  <BR><B>Features</B>  Heart-rate monitor  <BR><B>Interest</B>  <IMG
ALT="below average" SRC="/pics/hcircle.gif"><BR><B>Comfort</B>  <IMG ALT="below
average" SRC="/pics/hcircle.gif"><BR><B>Suitability</B>  <IMG ALT="below
average" SRC="/pics/hcircle.gif"><BR><B>Ease of use</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"><BR><B>Construction</B>  <IMG ALT="below average"
SRC="/pics/hcircle.gif"><BR><B>Features</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"></P>

<SPAN CLASS="PRICE">Total Test score <B>45</B>%</SPAN>

<HR CLASS="hrrep"><DIV ALIGN="RIGHT"><SMALL><A HREF="#top07">top</A></SMALL></DIV>


                                     


<SPAN CLASS="TEXT_COL" ID="E06">Pro Action</SPAN> G241 Sfera Program<BR><SPAN
CLASS="PRICE">£<B>480</B></SPAN> 


<DIV CLASS="img120r" ID="IMAGE3">
<IMG ALT="Pro Action G241 Sfera Program" WIDTH="120" HEIGHT="160"
SRC="images/e06.jpg"></DIV>

<P>
This stable and strong trainer has a smooth elliptical action, and large foot
platforms. The base of the machine is easy to step over, so less fit or mobile
people should find it easy to climb on and off. There are 13 exercise modes, but
the different profiles are so sketchy that our users found them uninspiring.</P><P>

The machine's also let down by the poor exercising position - the arms are too
low and your body is pulled too far forward. You can alter the resistance, but
the maximum setting won't really stretch you.
</P>

<P>
<B>Max user weight</B>  not stated  <BR><B>Floor area needed</B>  140 x 67cm 
<BR><B>Feedback</B>  RPM, speed, time, distance, calories, watts, pulse,  number
of steps, programme details  <BR><B>Features</B>  13 exercise programmes,
heart-rate monitor resistance-dependent calorie counter<BR><B>Interest</B>  <IMG
ALT="below average" SRC="/pics/hcircle.gif"><BR><B>Comfort</B>  <IMG
ALT="average" SRC="/pics/ecircle.gif"><BR><B>Ease of use</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"><BR><B>Construction</B>  <IMG ALT="above average"
SRC="/pics/estar.gif"><BR><B>Features</B>  <IMG ALT="above average"
SRC="/pics/estar.gif"></P>

<SPAN CLASS="PRICE">Total Test score <B>59</B>%</SPAN>

<HR CLASS="hrrep"><DIV ALIGN="RIGHT"><SMALL><A HREF="#top07">top</A></SMALL></DIV>


                                     


<SPAN CLASS="TEXT_COL" ID="E07">Tunturi</SPAN> C6<BR><SPAN
CLASS="PRICE">£<B>750</B></SPAN> 


<DIV CLASS="img120r" ID="IMAGE4">
<IMG ALT="Tunturi  C6" WIDTH="120" HEIGHT="160" SRC="images/e07.jpg"></DIV>

<P>
With three exercise programmes (rolling hills, heart rate interval and target
heart rate), 32 different resistance increments, and adjustable arms, this is a
fairly versatile machine. It's one of the safest trainers on test, and has a
handy reading rack and chest-strap heart-rate monitor. However, it doesn't make
it as a Best Buy, thanks to some problems with comfort and ease of use: the
display can be hard to read as it swaps between readouts, and the body position
is a little too far forward.
</P>

<P>
<B>Max user weight</B>  110kg  <BR><B>Floor area needed</B>  151 x 62cm 
<BR><B>Feedback</B>  Time, watts, step count, calories, pulse, programme details
 <BR><B>Features</B>  Three exercise programmes, heart-rate monitor,
resistance-dependent calorie counter<BR><B>Interest</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"><BR><B>Comfort</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"><BR><B>Suitability</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"><BR><B>Ease of use</B>  <IMG ALT="average"
SRC="/pics/ecircle.gif"><BR><B>Construction</B>  <IMG ALT="above average"
SRC="/pics/estar.gif"><BR><B>Features</B>  <IMG ALT="above average"
SRC="/pics/estar.gif"></P>

<SPAN CLASS="PRICE">Total Test score <B>66</B>%</SPAN>



<BR CLEAR="ALL"><DIV CLASS="reportnav">
<!-- Title string is :  Exercise Machines -->
<!-- Number of pages for this report is :  11 -->
<A HREF="/health/reports/aug2004he30t35/06elip.jsp">&laquo; Back</A> | <A
HREF="/health/reports/aug2004he30t35/08con.jsp">Next &raquo;</A>

</DIV>
<BR><BR><A CLASS="back-top" HREF="#top">Back to top</A>
<HR><DIV ID="FOOTER">
<DIV CLASS="terms"><A HREF="/whichextra/content/main/terms.jsp">Terms</A> | <A
HREF="/whichextra/content/main/privacy.jsp">Privacy</A> | <A ACCESSKEY="0"
HREF="/whichextra/content/main/accessibility.jsp">Accessibility</A></DIV><DIV
CLASS="copyright">Copyright&copy;2004. All rights reserved</DIV>


</DIV>

</DIV>
</DIV>
</BODY></HTML>
Note that the "shrink to fit" option is on and the print preview only shows one
page to print. I had to manually change the scaling to 40% before it all fitted
on one page.
I have similar problems with a different source
(https://us.hsbc.recruitmax.com/candidates/default.cfm?szCategory=jobprofile&szOrderID=26644).

When previewing in FinePrint following a Print from Firefox 1.0 (Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0), the
printing stops at the foot of the first page. The preview from Firefox shows the
text continuing several lines below the margin. 

I selected the text in the central frame and ended up with two pages printing
that had only the formatted header and footer.
This bug happens when print-previewing the page,
http://www.banya5.com/services.html.  Notice how the text is written between
the two pages.
I'm seeing this same problem at this site:

    http://cecm.victas.uca.org.au/

Using print preview (or actually printing) results on a single page being shown.

I've narrowed this down a little so that you have a test case which I will attach.

It appears that mozilla/firefox/deerpark doesn't handle absolutely positioned
div tags which can vary in lenght trying to output the entire div on a single
page instead of laying the div tag across many pages (as needed)
Status: UNCONFIRMED → NEW
Ever confirmed: true

*** This bug has been marked as a duplicate of 261743 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
I'm not so sure that this is a dupe of 261743.  Here's my reasoning.

Firstly, I'm not seeing any 'second page' in the print preview (unlike the
reports on that page.)

Secondly, and probably more importantly, the test case I've supplied doesn't
have overflow set, so by default it's visible, so this is a different case.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: