+polymer-dev
On Wed, Jan 15, 2014 at 3:48 PM, Simon Last <[email protected]> wrote: > The lack of positional selectors in the spec is very worrisome for me. I > am relying on them for a component that allows me to wrap arbitrary light > DOM nodes in another element. > > Sorry, I wasn't very clear about the problem I was having. There is > nothing incorrect happening, I just was not able to achieve the effect I > wanted. I wanted to use positional selectors to select from a content tag, > as in the example, but this does not work because the first positional > selector takes all of the content. > > > > > On Wed, Jan 15, 2014 at 3:20 PM, Yvonne Yip <[email protected]> wrote: > >> AFAIK Mozilla and us agreed to remove them from the spec so they can make >> a performant shadow DOM implementation. >> >> Which version of Chrome did you originally see the problem in? It seems >> like your example would only work in Canary which still has the :nth-child >> support, or is there another problem? >> >> >> On Wed, Jan 15, 2014 at 3:05 PM, Simon Last <[email protected]> wrote: >> >>> Interesting. Do you know why? They are pretty important to what I'm >>> doing right now. >>> >>> >>> >>> On Wed, Jan 15, 2014 at 1:54 PM, Yvonne Yip <[email protected]> wrote: >>> >>>> sorvell alerted me that positional selectors are no longer supported in >>>> <content>, but the feature hasn't been removed from the implementation. >>>> Spec: >>>> http://w3c.github.io/webcomponents/spec/shadow/#satisfying-matching-criteria >>>> >>>> >>>> On Wed, Jan 15, 2014 at 1:29 PM, Yvonne Yip <[email protected]> wrote: >>>> >>>>> The issue is with positional selectors which I think is not supported >>>>> under the shadow DOM polyfill. Your example works as expected under native >>>>> shadow DOM. >>>>> >>>>> >>>>> On Wed, Jan 15, 2014 at 12:57 PM, Simon Last <[email protected]>wrote: >>>>> >>>>>> Hey guys, >>>>>> >>>>>> I've been having a problem with shadow DOM and insertion points. >>>>>> >>>>>> I wrote an example with comments here: >>>>>> http://jsfiddle.net/kXhA4/3/ >>>>>> >>>>>> Thanks! >>>>>> >>>>>> Simon Last >>>>>> >>>>>> 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]. >>>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>>> >>>>> >>>>> >>>> >>> >> > 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]. For more options, visit https://groups.google.com/groups/opt_out.
