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

Re: A Call for ::nth-everything

From: Charles Pritchard <chuck@jumis.com>
Date: Mon, 31 Oct 2011 12:57:06 -0700
Message-ID: <4EAEFD92.1060808@jumis.com>
To: Lars Gunther <gunther@keryx.se>
CC: "www-style@w3.org" <www-style@w3.org>
On 10/31/11 12:30 PM, Lars Gunther wrote:
> Bringig this to your attention
> http://css-tricks.com/14771-a-call-for-nth-everything/

I've used "nth-char" as a step in an HTML rendering engine (canvas+js), 
not to select a single character but to update my current style for 
rendering inline text. It was handy and easier than specifying and 
calculating ranges.

The nth-everything proposal does not include ranges.
I'd like ::nth-letter(3, 10) -- an offset and a length.

That'd save me a lot of unwanted <span> manipulation.

Received on Monday, 31 October 2011 19:57:36 UTC

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