Closed
Bug 1420478
Opened 7 years ago
Closed 7 years ago
Print hides content when using css for paging and <br> in a <td>
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1409585
People
(Reporter: rulfoq, Unassigned)
Details
(Keywords: regression, regressionwindow-wanted)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Steps to reproduce:
I have a text in a table. when using <br> inside it, and then trying to print the text, using css paging, it does not show the following text on the print/pdf, only page 1 works.
See my html sample file and play around (removing the br):
<html><head>
<style>
.page {
page-break-after:always;
}
</style>
</head>
<body>
<!-- new page -->
<div style="width:100%" class="page">
<table style="margin:0 auto" id="nota_al_detalle" width="76%">
<tr valign="top">
<td width="40%">
<table width="100%">
<td>
<br><!-- this and each <br> breaks my printing -->
TEXT 1
<br>TEXT 1.1
<strong>ok</strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- end page -->
<!-- new page -->
<div style="width:100%" class="page">
<table style="margin:0 auto" id="nota_al_detalle" width="76%">
<tr valign="top">
<td width="40%">
<table width="100%">
<td>
<br><!-- this and each <br> breaks my printing -->
TEXT 2
<br>TEXT 2.1
<strong>ok</strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- end page -->
<!-- new page -->
<div style="width:100%" class="page">
<table style="margin:0 auto" id="nota_al_detalle" width="76%">
<tr valign="top">
<td width="40%">
<table width="100%">
<td>
<br><!-- this and each <br> breaks my printing -->
TEXT 3
<br>TEXT 3.1
<strong>ok</strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- end page -->
<!-- new page -->
<div style="width:100%" class="page">
<table style="margin:0 auto" id="nota_al_detalle" width="76%">
<tr valign="top">
<td width="40%">
<table width="100%">
<td>
TEXT 4
<br>TEXT 4.1
<strong>ok</strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- end page -->
</body></html>
Actual results:
All text after the <br> disappears. (page 2,3,4)
See page 4, it works fine in printing view, printing and pdf generation because it has no br at the begining and after that, it breaks that TD only.
Expected results:
All text inside all cells should be printed without disappearing.
In the last attachment I removed other CSS styles and included a <tr>, so the structure is more simple and HTML compliant, and avoid other distractions.
This used to work previous quantum.
thanks!
Component: Untriaged → Printing: Output
Keywords: regression,
regressionwindow-wanted
Product: Firefox → Core
Updated•7 years ago
|
Priority: -- → P3
Comment 3•7 years ago
|
||
This looks like a dupe of bug 140958.
rulfo: do you agree to mark this bug a dupe of bug 1409585 based on the bug description ?
Flags: needinfo?(rulfoq)
Yes. it looks like the same issue. Please Jeep in mind it happens because the Additional BR tags
Flags: needinfo?(rulfoq)
Comment 5•7 years ago
|
||
thanks for your response.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•