The /deep/ combinator was a part of Shadow DOM v0, which has been deprecated and removed. Starting in M63, the /deep/ combinator was treated as a no-op, equivalent to a space " " combinator. As the code for all of Shadow DOM v0 was removed completely in M89, /deep/ will now throw exceptions in some JS operations, such as querySelectorAll. Simply replace it with " " to get pre-M89 behavior back.

Specification

Editor's draft

Status in Chromium

Blink>DOM>ShadowDOM


Removed (tracking bug) in:

  • Chrome for desktop release 63
  • Chrome for Android release 63
  • Android WebView release 63

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signal
  • No signals

Owner

Comments

Shadow-Piercing descendant combinator, '/deep/' (aka '>>>'), including '::shadow' pseudo elements, are deprecated per the resolution at the Web Components f2f meeting [1]. See also "Intent to deprecate" [2]. [1]: https://www.w3.org/wiki/Webapps/WebComponentsApril2015Meeting [2]: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/68qSZM5QMRQ/pT2YCqZSomAJ Intent to remove: https://groups.google.com/a/chromium.org/d/topic/blink-dev/HX5Y8Ykr5Ns/discussion

Last updated on 2021-03-17