::shadow
and /deep/
were removed for breaking encapsulation.
The substitutes are:
- CSS variables.
It already works natively with the recently launched Google Chrome 49. Read here:- http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/
- https://developers.google.com/web/updates/2016/02/css-variables-why-should-you-care?hl=en
- http://blog.chromium.org/2016/02/chrome-49-beta-css-custom-properties.html
:host-context
. Read here: http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/