Closed Bug 1572183 Opened 6 years ago Closed 6 years ago

non-floating nested table doesn't show up after page-break-after

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dbaron, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, regressionwindow-wanted, testcase, Whiteboard: [layout:print-triage:p1])

Attachments

(1 file)

From bug 1406050 comment 18:

The problem still appears with nested tables:

<!DOCTYPE html>

<html>
<head>
	<meta charset="utf-8" />
	<title>test</title>
</head>
<body>
	<div style="page-break-after: always;">test1</div>
	<table>
		<tr>
			<td>
				<table>
					<tr>
						<td>
							<h1>test2</h1>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>

And from bug 1406050 comment 0:

Steps to reproduce:
Open the HTML file in desktop FF56 and choose "Print Preview".

Actual results:
Firefox doesn't print text "test2" on the second page.

Expected results:
The problem appears after "page-break-after: always;" in tables in divs in the desktop Firefox v56 (both Windows and Linux).
Browser should print text on the second page, as it has been doing in version 55 or older.

The priority flag is not set for this bug.
:mats, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mats)
Priority: -- → P3
Whiteboard: [layout:print-triage:p1]
Blocks: 1601429

The testcase works for me in current Nightly on Linux using various page sizes.
I'm guessing it got fixed in some other bug? (adding regressionwindow-wanted in case someone wants to dig up what fixed it)

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(mats)
Resolution: --- → WORKSFORME
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: