Re: [cssom] What does Element.pseudo() return when there's no corresponding pseudo-element?

On Sat, Jun 1, 2013 at 12:06 AM, L. David Baron <> wrote:
> describes an Element.pseudo() method.  It's not clear to me what
> this returns when the pseudo-element isn't generated (in other
> words, when the 'content' property [1] computes to 'none')
> Should it return null, or should it return an PseudoElement object
> whose style, when queried, shows a computed value of 'content:none'?
> -David
> [1]

The latter would be useful, especially if we expose mutable style on it.


Received on Sunday, 2 June 2013 06:36:51 UTC