WeasyPrint
WeasyPrint copied to clipboard
`counter-reset: footnote` is not working inside `@page`
I am using the print-css.rocks footnotes example.
I've added extra lorem ipsum text in between the footnotes so that it pushes the second footnote to a second page.
However, this does not reset the counter. The footnote on page 2 is still numbered "2".
My suspicion is that this bit is not working:
@page {
counter-reset: footnote 0;
}
Trying counter-reset: footnote; also doesn't work.
I double-checked the W3C draft regarding counter reset and I'm pretty sure it's supposed to work.
This works in Prince, not that it is by any means authoritative.
Thanks for looking into this!
Thanks for the report, I’ll try to find what’s wrong!