fyi -- the spec for ::content is at
http://dev.w3.org/csswg/css-scoping/#content-combinator

(I'll defer to someone more knowledgable to comment on the particular issue
and whether it is a bug or not...)



On Tue, Jun 10, 2014 at 9:26 PM, Jan Miksovsky <[email protected]> wrote:

> I've hit an oddity and would like some indication as to whether it's a bug.
>
> See http://jsbin.com/hijat/1/edit. This defines two elements: the first
> element colors certain content nodes in red, and second element simply
> reprojects its content into an instance of the first element.
>
> My question pertains to the semantics of ::content styling. Previously,
> I'd assumed that ::content matched a single <content> insertion point.
> Lately, however, I've noticed that ::content seems to match *any number* of
> content insertion points. That is, it can be used to style not only
> directly distributed content, but redistributed content as well. That's
> awesome! I need that in a number of places.
>
> However, the jsbin shows at least one case where styling doesn't seem to
> work the same when considering redistributed content. I can't actually find
> a spec for the ::content selector anywhere (where is the real spec?), only
> some very high-level stuff on polymer-project.org, so I can't pin down
> how this selector's supposed to work.
>
> Please let me know if this is a bug and I can file it. (The Blink team
> tends to want bug repro cases to *not* use Polymer, which creates a chore
> in a case like this to manually compile Polymer markup into JavaScript, so
> I've held off on filing a bug until it's likely I've actually got a real
> bug here.)
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/9094d0f0-8deb-47b6-a03e-459c9b0d1b7e%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/9094d0f0-8deb-47b6-a03e-459c9b0d1b7e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAJup4OUzj1i9T2o95n%3DP2jnRhB8Y7%3DoF3dLR%2B4L7%3Dy%3D20UOBKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to