What's the substitute for ::shadow and /deep/?

Zhengquan Bai picture Zhengquan Bai · Mar 2, 2016 · Viewed 13.7k times · Source

The two shadow-piercing combinators have been deprecated as stated in https://www.chromestatus.com/features/6750456638341120
Then what's the substitude for achieving the same thing, or this shadow-piercing feature has been completely abandoned?

Answer

MarcG picture MarcG · Mar 7, 2016

::shadow and /deep/ were removed for breaking encapsulation.

The substitutes are: