Re: [CSS OM] list of issues

On Wed, 01 Jun 2011 08:37:57 +0200, Sylvain Galineau  
<> wrote:
> [Daniel Glazman:]
>> That's undefined at this time :-( But if we read the CSS OM spec with a
>> strict eye, it says the second parameter of getComputedStyle() is a
>> pseudo-element. "first-line" is not a pseudo-element; ":first-line" and
>> "::first-line" are...
> If we do read it with a strict eye then only ::before and ::after are
> supported [1] I'd very much argue against reading this normatively
> at this point :)

Maybe :first-line and :first-letter ought to be added. But :selection for  
instance does not make much I think. To what element does it apply? If you  
really want answers to all of that you need to expose the render tree to  
script, but I am not sure we want to go there.

> [1]

Anne van Kesteren

Received on Monday, 4 July 2011 15:55:53 UTC