Forum Bugs

target-counter() does not work when Id attribute is on a tbody element

Alex3917
I'm generating page numbers using:

a::after { content: target-counter(attr(href), page); }

This works when the id attribute is on a section element, or when the id attribute is on table or tr elements, but not when the id is on a tbody element.
mikeday
Right, currently I think you would need to link to the first row in the tbody.