Closed Bug 224724 Opened 21 years ago Closed 20 years ago

CSS border problems when thead repeated on successive pages

Categories

(Core :: Printing: Output, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 173088

People

(Reporter: greed, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

When you have a table with separate <thead> and <tbody> sections, the border
styles on the <thead> are damaged when the heading is repeated on successive
pages.  (The first page is printed as expected.)

If you just have border-bottom, say for a nice line separating the thead from
the tbody, it is omitted completely on subsequent pages of the table.

If you just have border-top, it shows up 'too thin' on the subsequent pages.

border-left and border-right wind up being printed down the sides of the tbody
as well as the thead.  In print preview (on Linux at least), it is even weirder:
they flicker on and off based on what is at the top of the scrollable preview frame.

At least it is consistent: if you set all borders at once, you get all 3 effects
at once.  The testcase shows this one.

Reproducible: Always

Steps to Reproduce:
1. Load test.html, attached.
2. File/Print Preview
3. Scroll so the second page is visible.
4. Also consider an actual print (perhaps to file).
Actual Results:  
Borders on <thead> on subsequent pages are not printed or previewed correctly;
top is too thin; left and right extend too far down the page; and bottom is
missing completely.

Expected Results:  
Printed/previewed the same border that is shown around the <thead> on the first
page.
Attached file Testcase
I see this on LInux 2003111005
I see this on Windows too.
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7) Gecko/20040707 Firefox/0.9.2
Duping to Bug 173088

*** This bug has been marked as a duplicate of 173088 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: