Open Bug 1722885 Opened 4 years ago Updated 4 years ago

The CSS counter(page) not working properly. On the first page showing the total number of pages and no any numbering on the rest of the pages

Categories

(Core :: Layout: Generated Content, Lists, and Counters, defect, P3)

Firefox 90
defect

Tracking

()

UNCONFIRMED

People

(Reporter: palko.falcon, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

I am working dynamic reports. For this i need to use page numbers with CSS (the optional page numbering built in Firefox is not an option) . I tested the example on https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Responsive/Media_types under Action: Printing a document. The same result.

Actual results:

"Page:2" on the 1st page
"Page:" on the 2nd page

Expected results:

"Page:1" on the 1st page
"Page:2" on the 2nd page

The Bugbug bot thinks this bug should belong to the 'Core::CSS Parsing and Computation' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core

This doesn't seem to work on other browsers either, and I don't think it should work per spec...

It doesn't seem a recent regression (it's broken at least back to Firefox 68).

Severity: -- → S3
Component: CSS Parsing and Computation → Layout: Generated Content, Lists, and Counters
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: