Open Bug 1399282 Opened 8 years ago Updated 3 years ago

Table cells (td) with rowspan and page-break-inside:avoid are split between pages

Categories

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

56 Branch
defect

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: nowak2000, Unassigned)

References

Details

Attachments

(1 file)

Attached image fx.png
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170908072049 Steps to reproduce: 1. Visit https://fiddle.jshell.net/gmpfo05q/6/show/light/ 2. From the main menu choose File, Print Preview. Link to the code: https://jsfiddle.net/gmpfo05q/6/ Actual results: The preview is flawed: 1. The cell with a "rowspan" is split between pages (even when I set "page-break-inside: avoid;" for it) and its content is top-aligned. 2. Second and further pages show no table borders. Expected results: 1. Cells in the first column should not be split between pages and stay aligned with 1/2/3/4 rows, its text should remain in the centre of the cell. 2. Borders should appear on second and further pages.
Component: Untriaged → Print Preview
Product: Firefox → Core
> 1. The cell with a "rowspan" is split between pages > (even when I set "page-break-inside: avoid;" for it) Maybe we should make page-break-inside:avoid on table-cells work as it does for Grid items - propagate it to the (originating) row. (I'll make this bug report be about this particular issue.) > ... and its content is top-aligned. Yeah, I filed bug 1399482 for that issue. > 2. Second and further pages show no table borders. That may have been fixed by bug 1394249. The fix just landed so you'll to wait a few days before it shows up in Nightly. https://nightly.mozilla.org/ If it's not fixed by that bug, then please file a separate bug for this issue (we only handle one issue per bug report).
Status: UNCONFIRMED → NEW
Component: Print Preview → Layout: Tables
Depends on: 1394249
Ever confirmed: true
Priority: -- → P4
Summary: Table cells (td) with rowspan are split between pages → Table cells (td) with rowspan and page-break-inside:avoid are split between pages
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: