Different generated content in :first page than in page 2 and up don't work
I'm trying to design a template with different margin-top and margin-bottom content on first page than all following pages. The first page should have an empty margin-top and a margin-bottom with "complex" content picked upp from the html. The following pages should have a margin-top with a running title picked up from the html (but no need for complex content) and margin-bottom should have a page counter.
A document that I think (I'm a CSS newbie :-) ) should work is at https://kagervall.se/SLUdown/generated-margin-content.html but the first page margin-bottom gets a page counter instead of the complex footer. A similar document with the generated content replaced with hard coded content string seem to work as I expect https://kagervall.se/SLUdown/fixed-margin-content.html
Should this be possible? Bug in paged.js or my HTML/CSS?
paged.polyfill.js was build from github
chrome 100.0.4896.88 on Debian was used to preview