Find-text pseudo-element?

Would it be too resource-intensive to have a pseudo-element that
simply searched out all text in a string and applied itself to it?

For instance:

  p::text("example") { font-weight: bold; }

...would make all instances of the text "example" inside P elements
bold. The one problem I can think of with this is that it might cause
long pauses in rendering lots of text on slower devices.

If that was deemed to be a problem, how about having it apply to just
the first match of text?

Tom Gilder,

Received on Sunday, 13 July 2003 19:24:51 UTC