Re: [css3-values] syntax identity of <url> (was: [css4-values] Templated URLs)

On Fri, Apr 6, 2012 at 10:08 AM, Brian Kardell <bkardell@gmail.com> wrote:
> Yes, that's exactly what I was saying.  It seems to muddy the water in terms
> of being able to really understand pseudo elements and shadow dom... when I
> read it, I get a sinking feeling that something is wrong either with it or
> with my understanding.

Nah, you're fine.  From a layout perspective, pseudo-elements are
"real" elements, just like everything coming from the document.
However, attr() refers to qualities that pseudo-elements don't have,
and so it's more useful to have it instead refer to the superior
parent when used inside of a pseudo-element.

~TJ

Received on Friday, 6 April 2012 17:15:25 UTC