- From: Tom Gilder <tom@tom.me.uk>
- Date: Mon, 14 Jul 2003 00:24:47 +0100
- To: www-style@w3.org
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? Cheers -- Tom Gilder, http://tom.me.uk/ Blog! http://blog.tom.me.uk/
Received on Sunday, 13 July 2003 19:24:51 UTC