Open
Bug 163445
Opened 22 years ago
Updated 2 years ago
[BC] border-collapse printing produces inconsistent results
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
People
(Reporter: mark.mcmillan, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(8 files, 2 obsolete files)
When using the CSS command 'border-collapse:collapse' on tables. The table will usually render correctly in the browser window, but not in the print-preview window. Usually the print preview will render correctly (with regard to the borders) any part of a table which starts on that page. However, following pages of the table do not render correctly. (e.g. f a new table starting mid-way down a page it will render correctly for the rest of that page, but not for following pages.) The rendering of identical HTML / CSS on following pages of the table is wildly inconsistent, often producing different results on each page. When printed, the document looks different to the rendering produced by both the browser windows. Often with no borders rendered at all, in any part of any table.
Comment 1•22 years ago
|
||
can you produce a testcase ?
Reporter | ||
Comment 3•22 years ago
|
||
This HTML (together with the CSS) is a representative test-case. It renders fine in the Mozilla browser window. In Mozilla 1.0 Print Preview window the rendering is nothing like that from the browser, and inconsistent between pages. The printed result is different again. The latest overnight builds much improve print preview rendering (but not printing). However, borders are still inconsistent between pages (alongside other problems), and not up to the standard of IE.
Reporter | ||
Comment 4•22 years ago
|
||
This accompanies HTML 95995.
Comment 5•22 years ago
|
||
It also happens at least in Windows ME and XP, and not only affects the print preview, but also the actual printed pages.
Comment 6•22 years ago
|
||
Attachment #95995 -
Attachment is obsolete: true
Comment 7•22 years ago
|
||
Is this still a problem with latest build?
Comment 8•22 years ago
|
||
Both print preview and printing workforme, linux trunk build 2003-02-01-22.
Comment 9•22 years ago
|
||
WFM 1.3b/OS X
Comment 10•21 years ago
|
||
Confirming. When printing there are no border colors. Even though I clicked the "Print background" is clicked.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 11•21 years ago
|
||
mass reassign to default owner
Assignee: karnaze → table
Component: Print Preview → Layout: Tables
QA Contact: sujay → madhur
Updated•21 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 12•21 years ago
|
||
Comment 10 did not include a build number or a platform, and there are several other comments which do include a build number and platform and say WFM. The testcase also WFM Win2K Mozilla 1.4final. So, marking WFM. Reporter (Mark McMillan): If you can duplicate this in a recent build, please reopen the bug. Also, make sure that you check if it happens in both quirks and standards mode, since the testcase is in quirks. -M
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Comment 13•21 years ago
|
||
Max K-A, did you really test this yourself when you marked this as WFM? When I tested this (comment 10), I was using a daily build on Windows XP. Cant retest though, dont have a printer anymore.
Comment 14•21 years ago
|
||
*** Bug 225968 has been marked as a duplicate of this bug. ***
Comment 15•21 years ago
|
||
Reopening. This is definitely not working in 20031114 PC/WinXP. Print preview is fine, printing produces no border.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 16•21 years ago
|
||
This seems to be an windows issue only.
Comment 17•21 years ago
|
||
I found that Win2K Mozilla 1.5 Gecko/20031007 is breaking as described in bug 225968; I was tweaking its testcase but have come to this bug to report. In the attached case, borders marked "thin" or "medium" do not print out; they do appear on print preview. The 2px border prints and is around 1mm thick; the "thick" border prints and is quite a bit thinner - maybe around 0.5mm
Comment 18•21 years ago
|
||
Apologies for the spam. This version has the id for the medium table matching the css.
Attachment #135785 -
Attachment is obsolete: true
Comment 19•20 years ago
|
||
Just as a note: I got some strange results for the keyword borders when using the separate borders model; the borders were thin on all and overshot the corners. [Reconfirming on Win2k, build id 2004032807]
Summary: CSS 'border-collapse:collapse' produces inconsistent results → [BC] border-collapse printing produces inconsistent results
Comment 20•20 years ago
|
||
I'm having the same problem in Mozilla 1.6 release when using CSS collapse-border: collapse. Borders between cells printed on the first page work fine, but don't show up on subsequent pages. If you don't use tbody or thead, the borders show up correctly, minus the header I want on every page.
Comment 21•20 years ago
|
||
If you slowly scroll the print preview pane, you'll notice that the preview will draw the collapsed borders on page # > 1 until the thead is displayed. There must be some sort of conflict between using <thead> and the collapsed borders in the body
Comment 22•19 years ago
|
||
can someone confirm fails or works? WFM (I think) for attachment 106219 [details] however attachment 135786 [details] - thin border box 2 doesn't preview when scale set higher than 200% (suspect this is a different bug) Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 and Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051228 SeaMonkey/1.5a
Updated•15 years ago
|
Assignee: layout.tables → nobody
QA Contact: madhur → layout.tables
Comment 23•7 years ago
|
||
Still do not render on print left border of the table on the following pages, but only when the table is inside a block with CSS: position: absolute; top: 0; right: 0; bottom: 0; left: 0;
Comment 24•7 years ago
|
||
Attachment #8856269 -
Flags: feedback+
Comment 25•7 years ago
|
||
This seems to be a regression. I regularly use a web application that generates a table that I need to print out. I am sure it worked correctly some months ago, but when I printed the table again today, the table grid was only visible on page 1. Here is another testcase: http://sandbox.pigsgrame.de/demos/bordercollapse/ The page has a table where the table element itself and the cells (td) have a 1px solid border (defined in the style section of the page header). border-collapse:collapse is defined at table level. If you open the print preview dialog on this page, the table will only have visible borders on the first page. If you actually print the document, the result has the same wrong appearance.
tracking-firefox56:
--- → ?
Comment 26•7 years ago
|
||
It would be good to get a regression window here. Maybe it broke again in April? I don't think we need to track this for 56 as it is a fairly minor regression. Happy to take a patch while 56 is in beta, especially if we can verify a fix in Nightly.
status-firefox55:
--- → ?
status-firefox56:
--- → fix-optional
status-firefox57:
--- → affected
Keywords: regression,
regressionwindow-wanted
A bug this old should not be used to track a more recent regression.
Comment 28•7 years ago
|
||
at least, the problem of Comment 25 is duplication of Bug 1394249
Comment 29•7 years ago
|
||
This bug is the same that https://bugzilla.mozilla.org/show_bug.cgi?id=1392882 The bug don't exists in Firefox 54 and appeared in Firefox 55
Comment 30•7 years ago
|
||
I'm going to un-dupe bug 1392882 and track the issue there. It sounds like this may have worked, at least for some test cases described here and in the other bug, in 53 and then regressed in 54.
Comment 31•4 years ago
|
||
left border is missing of 2nd page with Attachment #8856269 [details]
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=688c44602a55&tochange=5f349409c9d5
Suspect: bug 155955
Comment 32•2 years ago
•
|
||
I can reproduce this issue on my machines Win 10 and MacOS11 on the latest Firefox Nightly 96.0a1 with Test Case from comment 18 and with TC: http://sandbox.pigsgrame.de/demos/bordercollapse/. See my results attached.
Updated•2 years ago
|
status-firefox96:
--- → affected
Comment 33•2 years ago
|
||
Comment 34•2 years ago
|
||
Comment 35•2 years ago
|
||
Comment 36•2 years ago
|
||
Updated•2 years ago
|
Severity: major → S2
Updated•2 years ago
|
Severity: S2 → S3
Updated•2 years ago
|
Status: REOPENED → NEW
status-firefox94:
--- → wontfix
status-firefox95:
--- → wontfix
status-firefox-esr91:
--- → wontfix
Keywords: regression,
regressionwindow-wanted
Target Milestone: Future → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•