:host selector matching regression

30 views
Skip to first unread message

Sami Kyostila

unread,
Apr 1, 2014, 7:25:01 AM4/1/14
to polym...@googlegroups.com
I noticed selectors like ":host(.someclass) #id" don't seem to match anymore in some cases. Can anyone tell if this is my bug or a regression on Chrome: http://jsbin.com/baramube/1/edit

This worked fine in Chrome 35.0.1897.2 but no longer in 35.0.1912.2.

- Sami

Steve Orvell

unread,
Apr 1, 2014, 12:43:08 PM4/1/14
to Sami Kyostila, polym...@googlegroups.com
This is definitely a bug. Thanks for noting it. I've filed it 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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAPuLczvQz%3D-6Z8%3DjWjMpraafwHaiy7CcGNRyx0fCeshHyKetXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Eric Bidelman

unread,
Apr 1, 2014, 12:47:36 PM4/1/14
to Steve Orvell, Sami Kyostila, polym...@googlegroups.com
Also wanted to point out couple of things in your demo:

- You should remove the "noscript" attribute from other-element. You're using the Polymer() constructor and don't need it.

- For adding/removing dynamic classes, we recommend using the tokenList filter.


Reply all
Reply to author
Forward
0 new messages