You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the following is run in Chrome's JavaScript console on https://google.com/ (i.e. a page without Polymer present), it returns 18 matches from both selectors:
If the same code is run in the JavaScript console on http://www.polymer-project.org/ (i.e. a page where Polymer is included), it returns 0 results for the second, scoped selector.
Adding :scope to selectors is important when selecting descendants of a specific DOM element, so it's problematic that this breaks when Polymer is present.
The text was updated successfully, but these errors were encountered:
If the following is run in Chrome's JavaScript console on https://google.com/ (i.e. a page without Polymer present), it returns 18 matches from both selectors:
If the same code is run in the JavaScript console on http://www.polymer-project.org/ (i.e. a page where Polymer is included), it returns 0 results for the second, scoped selector.
Adding
:scope
to selectors is important when selecting descendants of a specific DOM element, so it's problematic that this breaks when Polymer is present.The text was updated successfully, but these errors were encountered: