print / print preview: long table not split correctly onto pages (first page almost empty with lots of blank space, table prints on 2nd page)

RESOLVED WORKSFORME

Status

()

Core
Layout: Tables
--
major
RESOLVED WORKSFORME
9 years ago
6 years ago

People

(Reporter: Abraham, Unassigned)

Tracking

(Blocks: 1 bug, {regression, testcase})

Trunk
x86
All
regression, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: needs reduced testcase)

Attachments

(6 attachments, 1 obsolete attachment)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Bug:  the printer mechanism on how Firefox splits a table or keeps it together has changed from version 2. Before the new update, Firefox would split a table, printing it on two separate pages. Now, it doesn’t split the table. It prints the table on a whole new page, leaving a huge blank space. 

I have included the code below in the additional information.

 



Reproducible: Always

Steps to Reproduce:
1. load code in 'additional information' section in html browser
2. print page

Actual Results:  
observe how it does not split the html table up. it pushes it to another page leaving a lot of blank space on the page. this has not like that in version 2. 

Expected Results:  
I expect that the html table will be half printed on one page and half printed on another page. 

<!--



ALL RIGHTS RESERVED. No part of this material may be
reproduced or transmitted in any form or by any means,
electronic, mechanical or otherwise, without written
permission from OpenPro.com. USA.

OpenPro Web Based ERP solutions � OpenPro



-->

<link rel="stylesheet" type="text/css" href="style.css">
<script src='./includes/general.js'></script>
<html>
<head>
<title>
OpenPro Bike Company - invoices_show - </title>
<script>
//parent.document.title="OpenPro Bike Company - invoices_show - ";
</script>
</head>
<style>

THEAD { display: table-header-group }
</style><!--

SELECT * FROM so_orders WHERE id=1183 and companyid='DEMO'

-->	<FORM METHOD=POST ACTION="" NAME="form1">
	<INPUT TYPE="hidden" NAME="orderby" VALUE="lineitem_no">
	<INPUT TYPE="hidden" NAME="sortby" VALUE="ASC">
	<INPUT TYPE="hidden" NAME="number" VALUE="1183">
	<INPUT TYPE="hidden" NAME="act" VALUE="invoices_show">
	 </FORM><FORM METHOD=POST ACTION="index.php?act=pdf_show1&noheaders=yes" name=pdfform id=pdfform><INPUT TYPE="hidden" NAME="myhtml"><INPUT TYPE="hidden" NAME="mytitle"><div id=pdf_icon><A HREF='#' onclick=document.pdfform.submit()><IMG SRC='images/ENG/pdf_icon.jpg' HEIGHT='20' BORDER='0'></A><A HREF='#' onclick=document.getElementById('pdf_icon').innerHTML='';window.print();><IMG SRC='images/ENG/printericon.gif' BORDER='0'></A></div></FORM><div name=mydata id=mydata style="page-break-inside: auto;"><table cellspacing='0' cellpadding='0' style='page-break-inside: auto;' height='95%' width='100%'><tr valign=top><td width=25></td><td><table width='100%' border='0' height='100%'  cellspacing='0' cellpadding='0' style='page-break-inside: auto;' ><tr height=80 valign=top><td colspan=2><image  src='images/forms/DEMO.jpg'  width="200" height="74.885844748858" ></td></tr><tr height=100 valign=top><td><table border='0' style='page-break-inside: auto;' ><tr><td nowrap><font  face='arial' size=2>Location:&nbsp;DEMO<br>OpenPro Samburg Bike Company<br>10061 Talbert Ave<br>Fountain Valley, CA 92708<br><br>Phone (714)378-4603<br>Fax (714)964-1491</td></tr></table></td><td align=right width='40%' >
<table class='spacing-black-2' style='page-break-inside: auto;' ><tr><td style='background-color: #cccccc;'><b>Invoice#:&nbsp;</b></td><td>1314</td></tr><tr><td style='background-color: #cccccc;'><b>Date:</b></td><td>08/26/2008</td></tr><tr><td style='background-color: #cccccc;'><b>Due Date:</b></td><td>09/25/2008</td></tr><tr><td style='background-color: #cccccc;'><b>Terms:&nbsp;</b></td><td>net30</td></tr><tr><td nowrap style='background-color: #cccccc;'><b>Purchase Order:</b></td><td nowrap></td></tr></table></tr><tr height=5 valign=top><td colspan='2' align=center><font size='5' face='arial'>Invoice</font>&nbsp;</td></tr><tr valign=top><td>
<table class='spacing-black-2' width=200 height=100 style='page-break-inside: auto;'><tr><td valign=center nowrap><font face='arial' size=2><b>Bill To:&nbsp;</b><br>Mr. Frank  Smith DD<br>Cocanut Oil Dist CO<br>5822 EDINGER AVENUE<br>HUNTINGTON BEACH, CT 92649<br>USA<br>Phone (714)964-2140</td></tr></table></td><td align=right>
<table class='spacing-black-2' width=200 height=150><tr><td valign=center nowrap><font  face='arial' size=2><b>Ship to: </b>6<br> Frank   Smith <br>	Cocanut Oil Dist CO<br>	10061 tablert ave<br>	Fountain Valley,    92708<br>USA<br> Phone 7149642140x210</td></tr></table></td></tr><tr valign='top'><td valign=top colspan='2' class='subtitle'><div align=center><b>Items Ordered:</b></div><table width='100%' style='page-break-inside: auto;'><tr valign=top><td colspan=2>
<table class='spacing-black-2' width='100%' style='page-break-inside: auto;'><thead><tr valign=top><td colspan=100% >
<table class='spacing-black-2' width='100%' style='page-break-inside: auto;'><tr valign=top align=center class='cell-grey'>
			<td width='0' class='subtitle' ><b>Invoice#</b></td>
			<td width='0' class='subtitle' ><b>Cust #</td><td class='subtitle' style='font-size: 8pt; font-family: verdana;'><b>Ship to #</td> <td width='0' class='subtitle' style='font-size: 8pt; font-family: verdana;'><b>Order Submitted</td> <td width='0' class='subtitle' style='font-size: 8pt; font-family: verdana;'><b>Account Representatives</td> <td class='subtitle' width='0' align='right' style='font-size: 8pt; font-family: verdana;'><b>Order Type</td> <td width='0' class='subtitle' style='font-size: 8pt; font-family: verdana;'><b>Order Date</td> <td  class='subtitle' width='0' style='font-size: 8pt; font-family: verdana;'><b>Ship Date</td> <td  class='subtitle' width='0' style='font-size: 8pt; font-family: verdana;'><b>Ship Via</td> </tr> <tr align=center> <td class='invoice' style='font-size: 8pt; font-family: verdana;'>1314</td> <td class='invoice' style='font-size: 8pt; font-family: verdana;'>6</td> <td class='invoice' style='font-size: 8pt; font-family: verdana;'>6</td> <td class='invoice'>Administrator Your</td> <td class='invoice'>Administrator Your</td> <td class='invoice' style='font-size: 8pt; font-family: verdana;'>Phone Order</td> <td class='invoice' style='font-size: 8pt; font-family: verdana;'>08/26/2008</td> <td class='invoice' style='font-size: 8pt; font-family: verdana;'>08/26/2008</td> <td class='invoice' style='font-size: 8pt; font-family: verdana;'>Customer Pickup Pickup</td></tr></table></td></tr><tr class='cell-grey'>

			<td width='0' class='subtitle nowrap' style='font-size: 8pt; font-family: verdana;'><b>
			<A HREF="javascript:sortColumn('partnum')">Item #</A></td>

			<td class='subtitle' style='font-size: 8pt; font-family: verdana;'><b><A HREF="javascript:sortColumn('description')">Description</A></td><td width='0' class='subtitle' style='font-size: 8pt; font-family: verdana;'><b>
			<A HREF="javascript:sortColumn('quantity')">Quantity</A></td><td width='0' class='subtitle' style='font-size: 8pt; font-family: verdana;'><b>
			<A HREF="javascript:sortColumn('sell_uom')">UOM</A></td><td class='subtitle' width='0' align='right' style='font-size: 8pt; font-family: verdana;'><b>
			<A	HREF="javascript:sortColumn('unit_price')">Unit Price</A></td><td width='0' align='right' class='subtitle' style='font-size: 8pt; font-family: verdana;'><b>
			<A HREF="javascript:sortColumn('disc_amt')">Discount</A></td><td class='subtitle' width='0' align='right' style='font-size: 8pt; font-family: verdana;'><b>
			<A HREF="javascript:sortColumn('detsum')">Price</A></td></tr></thead><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG100</td><td class='invoice'>FG100 OpenPro Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Each</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : Manufacture#&nbsp;&nbsp; MFG: OpenPro Toy Company 1&nbsp;&nbsp; UPC: 01238882231<br>FG100 OpenPro standard model
This is more detail for this item <br>detail notes for this line item<br><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG100</td><td class='invoice'>FG100 OpenPro Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Each</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : Manufacture#&nbsp;&nbsp; MFG: OpenPro Toy Company 1&nbsp;&nbsp; UPC: 01238882231<br>FG100 OpenPro standard model
This is more detail for this item <br>and this line item<br><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG200</td><td class='invoice'>FG200 Deluxe Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Pound</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : FV200&nbsp;&nbsp; MFG: Open Pro Demo company&nbsp;&nbsp; UPC: 45671233211<br>Deluxe Mountain Bike with wood side rails candy apple red color<br>and this line item<br><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG200</td><td class='invoice'>FG200 Deluxe Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Pound</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : FV200&nbsp;&nbsp; MFG: Open Pro Demo company&nbsp;&nbsp; UPC: 45671233211<br>Deluxe Mountain Bike with wood side rails candy apple red color<br>Color: Blue   Size: 17<br><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG100</td><td class='invoice'>FG100 OpenPro Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Each</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : Manufacture#&nbsp;&nbsp; MFG: OpenPro Toy Company 1&nbsp;&nbsp; UPC: 01238882231<br>FG100 OpenPro standard model
This is more detail for this item <br>Color: Blue   Size: 15<br><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG200</td><td class='invoice'>FG200 Deluxe Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Pound</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : FV200&nbsp;&nbsp; MFG: Open Pro Demo company&nbsp;&nbsp; UPC: 45671233211<br>Deluxe Mountain Bike with wood side rails candy apple red color<br>Color: Blue   Size: 17<br><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG100</td><td class='invoice'>FG100 OpenPro Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Each</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>90.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : Manufacture#&nbsp;&nbsp; MFG: OpenPro Toy Company 1&nbsp;&nbsp; UPC: 01238882231<br>FG100 OpenPro standard model
This is more detail for this item <br>Color: Blue   Size: 15<br><tr><td NOWRAP class='invoice' style='font-size: 8pt; font-family: verdana;'>FG200</td><td class='invoice'>FG200 Deluxe Mountain Bike</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>1.00</td><td class='invoice' align='center' style='font-size: 8pt; font-family: verdana;'>Pound</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00000</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>0.00</td><td class='invoice' align='right' style='font-size: 8pt; font-family: verdana;'>990.00</td></tr><tr valign=top><td></td><td colspan=100% style='font-size: 8pt; font-family: verdana;'>MFG # : FV200&nbsp;&nbsp; MFG: Open Pro Demo company&nbsp;&nbsp; UPC: 45671233211<br>Deluxe Mountain Bike with wood side rails candy apple red color<br>Color: Blue   Size: 17<br></table></td></tr><tr valign=top><td><TABLE style='page-break-inside: auto;'><TR><TD><table class='spacing-black-2' align=left>
	<tr>
	<td class='subtitle' style='background-color: #cccccc; font-size: 8pt; font-family: verdana;'><b>Quote #:</td>
	<td style='font-size: 8pt; font-family: verdana;'>&nbsp;&nbsp;5471</td></tr>
	
	<tr>
	<td class='subtitle' style='background-color: #cccccc; font-size: 8pt; font-family: verdana;'><b>Order #:</td>
	<td style='font-size: 8pt; font-family: verdana;'>&nbsp;&nbsp;5471</td></tr>

	<tr>
	<td class='subtitle' style='background-color: #cccccc; font-size: 8pt; font-family: verdana;'><b>Invoice #:</td>
	<td style='font-size: 8pt; font-family: verdana;'>&nbsp;&nbsp;1314</td></tr></table></TD></TR><TR><TD><table><tr><td class='subtitle'><b>BATCH:&nbsp;&nbsp;</td></tr><tr><td class='subtitle'><b>User Def2:&nbsp;&nbsp;</td></tr><tr><td class='subtitle'><b>User Def3:&nbsp;&nbsp;</td></tr><tr><td colspan=3></td></tr><tr><td colspan=3>A sample invoice note</td></tr><tr><td colspan=3>Another line to describe terms to the customer</td></tr></td></tr></table></TD></TR></TABLE></td><td  valign='top' ><table class='spacing-black-2' align='right'>
	<div align=right><tr>
	<td class='subtitle' align='right' style='background-color: #cccccc; font-size: 8pt; font-family: verdana;'><b>Subtotal:&nbsp;</td>
	<td class='subtitle' align='right' style='font-size: 8pt; font-family: verdana;'> 4,320.00</td>
	</tr><tr><td class='subtitle' align='right' style='background-color: #cccccc; font-size: 8pt; font-family: verdana;'><b>Taxes:&nbsp;</td>
		<td class='subtitle' align='right' style='font-size: 8pt; font-family: verdana;'>345.60</td></tr><tr><td class='subtitle' align='right' style='background-color: #cccccc; font-size: 8pt; font-family: verdana;'><b>Shipping:&nbsp;</b></td>
	<td class='subtitle' align='right' style='font-size: 8pt; font-family: verdana;'> 0.00</td></tr><tr><td class='subtitle' align='right' style='background-color: #cccccc; font-size: 8pt; font-family: verdana;'><b>Total Due:&nbsp;</td>
	<td class='subtitle' align='right' style='font-size: 8pt; font-family: verdana;'>US$4,665.60</td></tr></table></td></tr><tr><td colspan='5'><table align=left><tr><td><b></b></td></tr><tr><td><b></b></td></tr><tr><td><b></b></td></tr><tr><td><b></b></td></tr><tr><td><b></b></td></tr></table></td></tr><tr><td colspan=2><div style="font-size: 9px;font-family: arial" align="left">
<strong>Terms and Conditions:</strong>
<br>OpenPro Demo System Terms and conditions  call 714-378-4600 if you have questions .
<br>
<br><strong></strong>
<br>.
<br>
<br>Original receipt must accompany all exchanges and or returns. 
</div>
</td></tr></table></td></tr></table></td><td width=25></td></tr></table><script>
function sortColumn(field)
{
	document.form1.orderby.value=field;
	if (document.form1.sortby.value=='DESC') document.form1.sortby.value='ASC';
	else document.form1.sortby.value='DESC';
	document.form1.submit();	
}
</script>
</div><script>
//change the title
document.title="invoices_show_1314_Cocanut_Oil_Dist_CO";
//load the pdf content
document.pdfform.myhtml.value = document.getElementById('mydata').innerHTML;
document.pdfform.mytitle.value = document.title;
</script>

Comment 1

9 years ago
I think the code is missing one or more enclosing tbody for all content after the thead is closed. Try that to split the table up across multiple pages. See the example code at http://www.w3.org/TR/html401/struct/tables.html#h-11.2.3

Comment 2

8 years ago
Created attachment 416738 [details]
Test case from description

This is the test case from description comment 0.
It's very untidy, could someone send this through HTMLTidy?

Confirming for Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729).

The test case, though untidy, looks alright on screen, but fails on print/print preview as described in comment 0: instead of splitting the table correctly on the first 2 pages, the 1st page is almost empty and table is printed only on 2nd page.

Not sure if this is a duplicate of bug 294991?
Assignee: nobody → bugzilla2007

Updated

8 years ago
Assignee: bugzilla2007 → nobody
Blocks: 294991
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression, regressionwindow-wanted
OS: Windows 2000 → All
Summary: the printer mechanism on how Firefox splits a table or keeps it together has changed from version 2 → print / print preview: long table not split correctly onto pages (first page almost empty with lots of blank space, table prints on 2nd page)
Whiteboard: needs reduced testcase
Version: unspecified → Trunk

Comment 3

8 years ago
Bug 521204 - [META] Wrong page splitting / Missing page content when printing
Blocks: 521204
Created attachment 422491 [details]
tidier table

The original testcase run through tidy html.
Created attachment 422498 [details]
smaller testcase

I can reproduce with this but couldn't get it smaller yet.
Attachment #422491 - Attachment is obsolete: true
The corresponding regression range I found is listed below.

Regression range:

Works:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008031904 Minefield/3.0b5pre
2008-03-19-04-trunk

Broken:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008032004 Minefield/3.0b5pre
2008-03-20-04-trunk
Created attachment 422922 [details]
smaller testcase
Attachment #422498 - Attachment is obsolete: true
I don't think this is a duplicate of bug 294991 because they give a different
regression range (see bug 294991, comment 2).

That testcase is about as small as I could get it.
"tidier table" appears to be the smallest testcase that reproduces on windows (recent trunk). Need to check regression range and testcases in windows.

Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a2pre) Gecko/20100216 Minefield/3.7a2pre
Attachment #422491 - Attachment is obsolete: false
The regression range in comment 6 is valid for "smaller testcase" in comment 7 but not for "tidier table" in comment 4 (the original testcase run through HTMLTidy).
(In reply to comment #10)
This refers to a linux build and not a windows build.

New regression ranges for "tidier table" in comment 4. I have not checked these in windows yet.

Regression range 1:

works:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061207 Minefield/3.0a1
2006-12-07-04-trunk

broken - 2 pgs nearly blank:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1
2006-12-08-04-trunk


Regression range 2:

broken - 2 pgs nearly blank:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061211 Minefield/3.0a1
2006-12-11-04-trunk

broken - pg 1 nearly blank, pg 2 table cutoff, pg 3 blank:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061212 Minefield/3.0a1
2006-12-12-04-trunk


Regression range 3:

broken - pg 1 nearly blank, pg 2 table cutoff, pg 3 blank:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008012604 Minefield/3.0b3pre
2008-01-26-04-trunk

broken - table starts on pg 2:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008012704 Minefield/3.0b3pre
2008-01-27-04-trunk
(In reply to comment #11)

Regression range 1:

http://bonsai-www.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-12-07+03%3A00%3A00&maxdate=2006-12-08+05%3A00%3A00&cvsroot=%2Fwww

Regression range 2:

http://bonsai-www.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-12-11+03%3A00%3A00&maxdate=2006-12-12+05%3A00%3A00&cvsroot=%2Fwww

Regression range 3:

http://bonsai-www.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-01-26+03%3A00%3A00&maxdate=2008-01-27+05%3A00%3A00&cvsroot=%2Fwww
(In reply to comment #11)
> New regression ranges for "tidier table" in comment 4. I have not checked these
> in windows yet.

The regression range works in Windows 7 for me. The only difference is the hour of day for this build.

Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9a1) Gecko/20061211 Minefield/3.0a1
2006-12-11-08-trunk
(In reply to comment #12)
I did those bonsais wrong somehow. These should be better.

Regression range 1:

http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-12-07+03%3A00%3A00&maxdate=2006-12-08+05%3A00%3A00&cvsroot=%2Fcvsroot

Regression range 2:

http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-12-11+03%3A00%3A00&maxdate=2006-12-12+05%3A00%3A00&cvsroot=%2Fcvsroot

Regression range 3:

http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-01-26+03%3A00%3A00&maxdate=2008-01-27+05%3A00%3A00&cvsroot=%2Fcvsroot
Keywords: regressionwindow-wanted
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
That first regression range looks like reflow branch landing.

fantasai, do you think you can take a look at this?
Component: Layout → Layout: Tables
QA Contact: layout → layout.tables
For me, these don't reduce to one nice minimum testcase that showcases all 3 regression ranges. Is there a reason to find separate minimum testcases for each range or is that unnecessary? Which ranges need them?
If you can figure out minimal testcases for the first and maybe third regression range, that's great.  I wouldn't worry too much about the second.  And definitely start with the first.
Created attachment 428367 [details]
Testcase for regression range 1 in comment 11

The original had much deeper nesting of tables which I all but removed. Should I have left it so the original form was retained.
> The original had much deeper nesting of tables which I all but removed. Should
> I have left it so the original form was retained.

Oops. Meant that as a question, not a statement.
Not if the smaller nesting still shows the problem after but not before.  ;)

dbaron, can you maybe take a look at this?

Comment 21

8 years ago
Created attachment 428369 [details]
more reduced

Comment 22

8 years ago
the 95% on the outer table are required and they trigger the f-word of table reflow: "special height reflow".
Created attachment 428400 [details]
Testcase for regression range 3 in comment 11
Keywords: testcase

Comment 24

6 years ago
Matt could you please revisit the testcases now that bug 642088 has landed.
Some of the testcases work and others don't.  On the broken testcases, the table gets shifted to the second page.


testcase from comment 18:

works:
Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0

broken:
Mozilla/5.0 (X11; Linux i686; rv:8.0a1) Gecko/20110802 Firefox/8.0a1


Testcase "more reduced" from comment 21:

Works:
Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0

Works:
Mozilla/5.0 (X11; Linux i686; rv:8.0a1) Gecko/20110802 Firefox/8.0a1


Testcase from comment 23:

broken:
Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0

broken:
Mozilla/5.0 (X11; Linux i686; rv:8.0a1) Gecko/20110802 Firefox/8.0a1

Comment 26

6 years ago
all of the listed testcase do print on the first page the table with a recent nightly Mozilla/5.0 (Windows NT 5.1; rv:11.0a1) Gecko/20111202 Firefox/11.0a1
(In reply to Bernd from comment #26)

You are correct.  All the testcases now work.  Marking WFM.

Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120323 Firefox/14.0a1
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.