Open Bug 391153 Opened 13 years ago Updated 11 years ago

fixed positioning doesn't work in paged (print) media when root is display:table

Categories

(Core :: Layout: Positioned, defect, minor)

defect
Not set
minor

Tracking

()

People

(Reporter: fantasai.bugs, Unassigned)

Details

Attachments

(1 file)

445 bytes, text/html
Details
Attached file testcase
Overview:

  Fixed positioning doesn't work properly in paged media if the root is
  display: table.

* This bug is related to bug 320865.
* See bz's comment in nsCSSFrameConstructor::ConstructDocElementTableFrame.
* Note that when we copy over fixed frames, we put their placeholders in the
  document root element. (See nsCSSFrameConstructor::ReplicateFixedFrames.)
  This is due to bug 200774.

Tested in 2007-08-06 trunk build on Linux.
The test case works properly for me on FF 3.5. The problem does not appear to be with the absolute positioning but rather that at 100% (and smaller zooms) FF does respect the page-break:always style. If you increase the scaling to a larger percentage, the page break and 2nd Hello World appear as would be expected.
You need to log in before you can comment on or make changes to this bug.