W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css3-page] CSS counter for position fixed elements on paged media (#1879)

From: Dara Keon via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Jul 2020 01:17:46 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-662186554-1595380664-sysbot+gh@w3.org>
@BattlemageBob, for me, firefox shows the total page counting at first page and nothing else at others. At chrome, always 1 at every page.

```css
body
{
	counter-reset: page;
}

footer
{
	counter-increment: page;
	position: fixed;
}

footer::before
{
	content: counter(page);
}
```

-- 
GitHub Notification of comment by darakeon
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1879#issuecomment-662186554 using your GitHub account
Received on Wednesday, 22 July 2020 01:17:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC