I read this selector and get conflicting answers.
Q: What does / deep / and :: shadow mean in the CSS selector?
We see:
As Joel H. notes in the comments, Chrome has since become obsolete / deep / combinator, and this 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. β> there is a new version that should probably be supported
However, in Angular 2 docs: https://angular.io/docs/ts/latest/guide/component-styles.html
We see:
// deep / selector also has an alias β>. We can use either of the two interchangeably.
Obviously, it would be wise to trust Angular 2 docs, but I'm a bit indecisive due to all this conflicting information.
In fact, in the latest version of Microsoft Visual Studio code, BOTH /deep/ and >>> create errors, although both of them work despite the errors.
My question is twofold:
Is there / deep / here to stay? Do we have any source, quote, or anything from any specification that says it will be accepted? Or if it is officially out of date?
Can we fix this error in Visual Studio code without disabling syntax checking at the same time?
css css-selectors angular
Kevin
source share