I've been reading up on this selector, and getting conflicting answers.
In: What do /deep/ and ::shadow mean in a CSS selector?
We see:
As Joel H. points out in the comments, Chrome has since deprecated the /deep/ combinator, and it gives a syntax error in IE.
In: https://github.com/Microsoft/vscode/issues/7002
We see:
/deep/ no longer exists, so I don't think we should support it. >>> is the new version, which should probably be supported
However, in the Angular 2 docs: https://angular.io/docs/ts/latest/guide/component-styles.html
We see:
The /deep/ selector also has the alias >>>. We can use either of the two interchangeably.
Obviously it would be wise to trust the Angular 2 docs, but I'm a bit hesitant because of all this conflicting information.
In fact, in the latest version of Microsoft Visual Studio Code, BOTH /deep/
and >>>
create errors, though they both do work despite the errors.
My question is twofold:
Is /deep/ here to stay? Do we have any source, a quote, or anything from any specification saying that it will be adopted? Or if it has officially been deprecated?
Can we suppress this error in Visual Studio Code without all-together disabling syntax checking?