You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
target-counter(attr(href), page) seems to render “0” instead of the actual page number if the element into whose ::after it is rendered has display: flex; set.
target-counter(attr(href), page)
seems to render “0” instead of the actual page number if the element into whose::after
it is rendered hasdisplay: flex;
set.Given this markup and styles:
toc.html
toc.css
When rendering this to PDF with Weasyprint 53.3 (
weasyprint toc.html toc.pdf
) then the output document should contain 3 times the same link text.Expected output:
But for the second link text, “0” is rendered for the target page counter instead of “2”.
Actual output:
The text was updated successfully, but these errors were encountered: