Re: A Call for ::nth-everything

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.

-Charles

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