Closed Bug 376464 Opened 17 years ago Closed 13 years ago

print and print preview ignores text-align:justify if body-width defined for printing

Categories

(Core :: Printing: Output, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: webmaster, Unassigned)

Details

(Whiteboard: [closeme 2011-03-15])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0

in a css i defined <p> to be justified, and for printouts (@media print) the <body> fixed width of 170 mm. In browser window it's ok, but the print preview is not justified: some lines are too short, some are even too long (get out of the border).
The printout is also not OK, as the print preview.

In Firefox 1.5.x it was different: the print preview was not justified (like now), but the real printout was OK.

The same problem appears in SeaMonkey 1.1.1

Reproducible: Always

Steps to Reproduce:
1. Create a HTML with <p> and include a CSS
2. create the CSS and declare text-align:justify for paragraphs 
3. in the css: declare @media print - body - width 170mm
4. open the html in the browser - the alignment is justified (OK)
5. open "Print Preview". The alilgnment is not justified (not OK)
6. print the page - the alignment is not justified (not OK).
Actual Results:  
In the printout the lines are of different length

Expected Results:  
the text should be right justified

Same problem in SeaMonkey 1.1.1
Assignee: nobody → printing
Component: General → Printing
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
On these screenshots is the same page with justified text:
On the left side print preview from SeaMonkey 1.0.6, on the right side from SeaMonkey 1.1.4. You can see that newest browser cut words near right border of page.
The same issue appears on Firefox 2.0.0.6.
Site presented on image (http://www.spraszowka.edu.pl/szkola/historia.php) is valid XHTML and CSS page. On other browsers (IE6, Opera 9.21) this site is displayed correctly.
Assignee: printing → nobody
QA Contact: printing
do you see this issue still with version 3.6 or 4.0 beta?
Whiteboard: [closeme 2011-03-15]
No response to needed information. -> incomplete report
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: