New issue
Advanced search Search tips

Issue 740496 link

Starred by 19 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Feature

Blocking:
issue 368053



Sign in to add a comment

Support page-based counters from CSS Paged Media Module Level 3

Reported by gti...@wikimedia.org, Jul 10 2017

Issue description

Chromium (and other browsers) should support page-based counters from CSS Paged Media Module Level 3 ( https://www.w3.org/TR/css3-page/#page-based-counters ) as this is the only way web pages can provide nice page numbers in printed form and be in control of how pages are numbered.

No browser supports it currently, although various print-focused tools do ( https://www.print-css.rocks/tools.html lists some).

Test case:
* Visit https://tgr.github.io/scratchpad/page-counter.html
* Print the page
* Expected: See page numbers like "Page 1" at the bottom of every page
* Actual: Page numbers not shown

Bug 368053 seems to be the master bug for supporting the Paged Media module. I figured having bugs about specific fetaures that are requested might be helpful.
 
Components: Internals>Printing
Labels: -Pri-3 M-61 OS-Linux OS-Mac OS-Windows Pri-2
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Mac 10.12.5, Win-10 and Ubuntu 14.04 using chrome stable version #59.0.3071.115 and latest canary #61.0.3153.3.

This is a non-regression issue as it is observed from M45 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!

Comment 2 by weili@chromium.org, Jul 11 2017

Blocking: 368053
Labels: -Type-Bug -Pri-2 -M-61 Pri-3 Type-Feature
Status: Available (was: Untriaged)
Would be realy helpfull feature!

Even just the page counter (https://drafts.csswg.org/css-page-3/#page-based-counters) without the implementation of page-margin Boxes would be helpfull, when they are working in fixed positioned elements.

Workaround could be to enable counter-increment on fixed-positioned elements. At the moment fixed elements get displayed on each page, but counters aplied to it never increment.
Our application is also looking forward to this!
Cc: mstensho@chromium.org
Components: Blink>CSS Blink>Layout

Sign in to add a comment