[target-text-update] target-text doesn't work when content have counter
The target-text()
function doesn't work when content targeted have a counter.
Example:
h1::before {
content: "Chapter "counter(title-counter) ". ";
}
a[href]::before {
content: target-text(attr(href), before);
}
HTML file: issue-152.html
Result:
The result we should get: