Open Bug 484258 Opened 15 years ago Updated 2 years ago

[BC] In print-preview, table with "border-collapse: collapse" has borders placed too far to the left on 2nd page

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files, 1 obsolete file)

Attached file testcase 1
STR: Print-preview testcase, & look at second page

ACTUAL RESULTS:
 - On all pages but the first, the borders are placed too far to the left. Namely:
  * the left border is cut off
  * the right border overlaps the text in the table. (The text itself seems to be placed correctly, in the same spot as on previous pages)

EXPECTED RESULTS:
  * Border placement should be the same on all pages.

This is a regression in mozilla-central, with respect to 1.9.1.

BROKEN:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090318 Minefield/3.6a1pre

WORKING:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090319 Shiretoko/3.5b4pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009030422 Ubuntu/8.10 (intrepid) Firefox/3.0.7
Attached file (same testcase again -- ignore me) (obsolete) —
Here's a reference case, with the "border-collapse: collapse" style removed.
Attachment #368324 - Attachment description: reference 1 → (same testcase again -- ignore me)
Attachment #368324 - Attachment filename: print_ref.html → print_test.html
Attachment #368324 - Attachment is obsolete: true
Attached file reference 1
Here's the reference case for real. (I attached wrong the file before).
Possibly related to Bug 484260? (see Bug 484260 comment 1)
Same regression range as Bug 484260.

Regression range:

works:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090208 Minefield/3.2a1pre
http://hg.mozilla.org/mozilla-central/rev/688c44602a55

broken:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090209 Minefield/3.2a1pre
http://hg.mozilla.org/mozilla-central/rev/0ebeefbbdac0

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=688c44602a55&tochange=0ebeefbbdac0
Thanks Matt! Looks like a regression from bug 155955, then.
Summary: In print-preview, table with "border-collapse: collapse" has borders placed too far to the left on 2nd page → [BC] In print-preview, table with "border-collapse: collapse" has borders placed too far to the left on 2nd page
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: