Closed Bug 400277 Opened 17 years ago Closed 13 years ago

Incompatibilities between float and column in print mode

Categories

(Core :: Printing: Output, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: david, Unassigned)

Details

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

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.6) Gecko/20070809 Camino/1.5.1 (MultiLang)
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.6) Gecko/20070809 Camino/1.5.1 (MultiLang)

In order to mimic publishing software, I want to create a PDF of a file where the text fits on two columns. The said text also contains pictures and I want the text to wrap around the picture, so I use float.

It is all well and good with "media=screen"; the text wraps around the picture and the combination of both is splitted in two columns. But with "media=print", the picture doesn't float. See attached picture for an example. I think the probleme comes from the fact that the picture is two big to fit in one column in print mode and the second column doesn't change accordingly.

Reproducible: Always

Steps to Reproduce:
1. write a long text
2. use this rule in the media:print part of your CSS: 			column-count:2;-moz-column-count:2
3. choooe a big enough picture (like 400 px)
4. set it to float:left
5. print as PDF (to save ink and paper) with the A4 format (or similar size)
Actual Results:  
The picture in the first column is drawn upon the second column

Expected Results:  
The second column should wrap around the picture, even though the picture is in the first column
Attached file Source HTML file
A possible workaround could be that Gecko resizes the picture — although I believe this would usually be unwanted. Notice the previous (PDFà attachmennt is compressed to be less than 300 kb. If opens perfectly with OS X Tiger, but YMMV with other OSes.
Component: General → Printing: Output
Product: Firefox → Core
QA Contact: general → printing
Version: unspecified → 1.8 Branch
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: