- From: Alexander Shpack <shadowkin@gmail.com>
- Date: Tue, 19 Jul 2011 00:22:28 +0300
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: jwl@worldmusic.de, www-style@w3.org
On Mon, Jul 18, 2011 at 11:58 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: > > 1. Does it match across element boundaries? If so, it'll be a lot > slower. If not, it's much less useful. > > 2. Does it match across textnodes? Even when the page *looks* like > it's just continuous text, the text may actually be broken across > separate textnodes. This has the same implications as the previous, > except it's more confusing because you can only tell when a run of > text is broken into multiple textnodes by examining it from script. > IMHO, ::regex behavior is very close to document.createRange http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html -- s0rr0w
Received on Monday, 18 July 2011 21:23:04 UTC