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.
Johann
I have just realized that we still can't create a hyperlink to a <tbody> element.
Is there any reason that forbids that?

- - -
Johann

mikeday
We simply haven't implemented this yet, I will add it to the roadmap.
Johann
Great - Thanks!

- - -
Johann