Open Bug 555344 Opened 14 years ago Updated 2 years ago

position fixed counter missing for print media after first page

Categories

(Core :: Layout, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: mackyle, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2

As per CSS 2.1 section 9.6.1, "for paged media, boxes with fixed positions are repeated on every page."

However, if a fixed position box has a counter used in a content item, the counter will fail to appear on pages after the first.

See steps and attachment.

Reproducible: Always

Steps to Reproduce:
1. Load the sample attachment
2 [review]. Print it (you need only look at a print preview, it's not necessary to actually print it).
3. Notice that "Page 1" appears at the bottom of the first page, but the 2nd, 3rd and 4th pages only have "Page" at the bottom.
4. Also notice that the font face and size used for "Page" is inherited from the body for the first page while it reverts to a default font and size for the 2nd, 3rd and 4th pages.

Actual Results:  
See steps.

Expected Results:  
The first page should have "Page 1" at the bottom, the second page should have "Page 2" at the bottom and so on.  Also, the font face and size used to display the "Page " footer should be the same on all pages.

In order to notice the font face change in the footer, you must have a "fantasy" font that is different from the default.  However the font size change should be noticeable regardless.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: