mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fixes #5390 Before the change: // original CSS :host .foo .bar {...} .foo .bar {...} // translated to [_nghost-shh-2] .foo .bar {...} .foo[_ngcontent-shh-2] .bar[_ngcontent-shh-2] {...} Note that `.foo` and `.bar` where not scoped and would then apply to nested components. With this change those selectors are scoped (as they are without `:host`). You can explicitly apply the style to inner component by using `>>>` or `/deep/`: `:host >>> .foo` |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| testing | ||
| core_private.ts | ||
| core_private_testing.ts | ||
| index.ts | ||
| package.json | ||
| private_export.ts | ||
| rollup.config.js | ||
| testing.ts | ||
| tsconfig-es5.json | ||
| tsconfig-es2015.json | ||