Open Bug 179135 Opened 19 years ago Updated 2 years ago

top:auto blocks with position:absolute misplaced when printing


(Core :: Printing: Output, defect, P3)

Windows 2000





(Reporter: smontagu, Unassigned)


(Blocks 2 open bugs, )


(Whiteboard: [frag2020])


(1 file)

I noticed this when printing out . The marginal
notes, which are styled

  .issue { position: absolute; left: 0; width: 12em; border: solid thin;
padding: 0.35em;
           font-size: 0.6em; text-align: left; margin: 0.2em; background: white;
opacity: 0.9; }

all appear as if piled one on top of the other at the beginning of the first page.

Steps to reproduce: load the URL, or the minimized testcase.
                    Note the position of the marginal notes
                    Print or Print Preview

Expected results:   Each marginal note should be next to the relevant paragraph.

Actual results:     Marginal notes on the first page are positioned correctly.
                    Marginal notes on subsequent pages appear on the first page.

(Not sure if this belongs in Printing or Layout: R & A Pos. Feel free to reassign)
Attached file Minimized test case
Could be dupe of bug 122750.
Priority: -- → P3
Target Milestone: --- → Future
Is dup of bug 154892 ?
In response to #3, this is not a dup of bug 154892.  That bug involves Mozilla
not breaking up a single large DIV for printing across multiple pages.  This bug
involves multiple DIVs that if absolutely positioned are not printed on the
correct page.
Depends on: 154892
could bug 281712 be a dup?
*** Bug 281712 has been marked as a duplicate of this bug. ***
Don't know what caused it or when it happened, but the behavior in my recent builds is different: abspos blocks on subsequent pages now don't get printed at all, i.e. instead of appearing on the first page, the last paragraph's sidenote doesn't appear at all. Can anyone confirm that?
Yep, I see that behavior in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007100110 Firefox/3.0a6pre ID:2007100110.
Duplicate of this bug: 362260
Assignee: rods → nobody
QA Contact: sujay → printing
Blocks: 521204
No longer depends on: 154892
Blocks: 267029
Summary: blocks with position: absolute; misplaced when printing → top:auto blocks with position:absolute misplaced when printing
See Also: → 1158666
Whiteboard: [frag2020]
See Also: → 546559
You need to log in before you can comment on or make changes to this bug.