Closed Bug 422249 Opened 18 years ago Closed 18 years ago

2nd page of table contents gets placed outside of table-border in print-preview

Categories

(Core :: Layout: Tables, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: roc)

References

Details

(Keywords: regression, testcase)

Attachments

(4 files)

Attached file testcase 1 —
Found this bug while playing with testcases for bug 379468. Steps to reproduce: 1. Load testcase 1 2. Print-Preview 3. Scroll to 2nd page OBSERVED RESULTS: - Bottom edge of table border appears at very top of 2nd page - 2nd page of content is lower down, *unbordered* EXPECTED RESULTS: - 2nd page's content should have the border going around it. Confirmed on FF3b4 on Windows, Mac, and Linux.
Flags: blocking1.9?
Summary: 2nd page of table contents gets placed outside of table in print-preview → 2nd page of table contents gets placed outside of table-border in print-preview
Hardware: PC → All
http://mxr.mozilla.org/mozilla/source/layout/html/tests/table/printing/bug85738.html shows the same issue, I am almost certain that that test case did work.
We should trace the regression window down for the last testcase (my biggest fear is that it is broken since the reflow branch landed)
martijn could you help with a regression window?
This is a regression after ff 2.0 ( Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/2007112718). It works there.
Yeah, I would be extremely surprised if bug 404666 causes this.
Blocks: 373400
No longer blocks: 404666
(In reply to comment #7) > This regressed between 2007-12-02 and 2007-12-03: Our behavior *changed* in that window, but I'm not sure I'd call it a regression, as I think the 2007-12-02 behavior was worse (or at least, also bad). In that build, print-preview only shows one page, with the table flowing off of its bottom. The lines that don't fit are lost. Are there any trunk builds that look like FF2 -- showing 2 pages of content (up to the final 'n' character), with all of the content appearing inside the table border?
but will not fix dholbert's first testcase :-(
I think we should split the bug at comment 3 it should be a new bug
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 renders the test case 1 fine. So there should be a different regression window for the first test case.
(In reply to comment #10) > (In reply to comment #7) > > This regressed between 2007-12-02 and 2007-12-03: > > Our behavior *changed* in that window, but I'm not sure I'd call it a > regression Ah, sorry -- as bernd's comments suggest, martijn's regression window was for the linked testcase in comment 3, whereas I was talking in comment 10 about testcase 1 (attachment 308734 [details])
I filed bug 422589 as written in comment 12, so we should focus on the regression window for test case 1. Martijn could I ask you for help again. Thanks
Note that, per comment 10, there's probably 2 (or more?) regression windows for testcase 1, taking us through these 3 different states: FF2: Prints 2 pages, with all content inside border (CORRECT) 20071202 nightly: Prints 1 page, with table overflowing off the page FF3b4: Prints 2 pages, with 2nd page's content outside the border.
FF2: Prints 2 pages, with all content inside border (CORRECT) 20071202 nightly: Prints 1 page, with table overflowing off the page The first one is the most interesting one.
the testcase worked in the build from 2006-12-0704 and fails already in 2006-12-08-04
this could be bug 300030
The regression with testcase1 with the table overflowing off the page on print preview started happening when the reflow branch landed. That things started looking better, again, but still the issue "Prints 2 pages, with 2nd page's content outside the border.", started happening between 2008-01-26 and 2008-01-28: 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+04&maxdate=2008-01-28+07&cvsroot=%2Fcvsroot I guess the patch for bug 403669 changed that.
The patch in bug 422678 fixes this
Depends on: 422678
Let's block on the backout patch in bug 422678.
Assignee: nobody → bernd_mozilla
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Whiteboard: [depends on 422678]
I'll see what I can do in bug 422678
Assignee: bernd_mozilla → roc
Should be fixed now, and I checked in a test.
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [depends on 422678]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: