WICG / scroll-to-text-fragment

Proposal to allow specifying a text snippet in a URL fragment
Other
586 stars 43 forks source link

Behavior with CSS generated content #256

Open tomayac opened 4 months ago

tomayac commented 4 months ago

Is this feature supposed to work with CSS generated content, that is, content generated via *::before {content: "foo";}? As implemented by Chrome and Safari as per this test, it's not, but I'm not sure if it's spec'ed. FWIW, the browser's find in page feature doesn't find CSS generated content either.