W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: Text selector [was Re: breaking overflow]

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 04 Jan 2010 14:28:07 -0500
Message-ID: <4B424147.6070706@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
On 1/4/10 11:52 AM, Tab Atkins Jr. wrote:
> If we *don't* allow it to match across element boundaries, then is
> there a good reason for the restrictions?

You can't disallow it matching across pseudo-element boundaries 
(specifically first-line and first-letter), or at least I suspect you 
don't really want to.

 From a theoretical purity of specification, there might not be a good 
reason other than the above.  However, from a difficulty of 
implementation perspective, I suspect allowing arbitrary styling on 
::text would be much more difficult to implement (it certainly would be 
in Gecko).  Hence my question about what the use cases are and whether 
they're important enough to make the feature more complicated and 
possibly slower to get implemented.

Received on Monday, 4 January 2010 19:28:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:42 UTC