1

Today when I tried to access my website it is showing following error on console

/deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details

error message

When I follow the link it tells me:

When a >>> combinator (or shadow-piercing descendant combinator) is encountered in a selector, replace every element in the selector match list with every element reachable from the original element by traversing any number of child lists or shadow trees.

But I don't understand what I should I change to fix this. What is the correct workaround for avoiding the error from function querySelectorAll when using the deprecated /deep/ combinator?

10
  • What did that link tell you?
    – rene
    Oct 7, 2015 at 9:43
  • "When a >>> combinator (or shadow-piercing descendant combinator) is encountered in a selector, replace every element in the selector match list with every element reachable from the original element by traversing any number of child lists or shadow trees." But i didn't understood it
    – Vamshi P
    Oct 7, 2015 at 9:44
  • I see that /deep/ on line 4222. Not sure if that call is on the callstack when you hit this error but you might want to try to remove that and see if your site still works.
    – rene
    Oct 7, 2015 at 9:51
  • Where can i find that file?
    – Vamshi P
    Oct 7, 2015 at 9:52
  • I have no idea...do a search on your server? You are sure that script is coming from your site? It is not a plugin that went bad? Try to start chrome in incognito mode with plugins disabled.
    – rene
    Oct 7, 2015 at 9:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.