Skip to content

How do I debug this target-text() issue? (Copied from GitHub)

https://github.com/pagedjs/pagedjs/issues/151

I referenced this https://pagedjs.org/documentation/-cross-references/ doc and tried to add a cross-reference but failed.

The content didn't show up, as the following image shows: image

My CSS is as follows:

image I can see my target-text(attr(href url)) part was replaced with var(--pagedjs-7a859253-16a6-4fe6-a4ba-0e562277ec9b).

Was it because --pagedjs-7a859253-16a6-4fe6-a4ba-0e562277ec9b point to a non exist element? How could I debug it?

Reproduce URL: https://identity.jefftian.dev/main.html