W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: CSS regexes

From: Alexander Shpack <shadowkin@gmail.com>
Date: Tue, 19 Jul 2011 00:22:28 +0300
Message-ID: <CAK4xKXmbV73VV-qX8CZ4pGyMz4PR2t3BE5MQuJc41L9RX2tpSw@mail.gmail.com>
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

Received on Monday, 18 July 2011 21:23:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:47 UTC