angular/modules/@angular/compiler
Victor Berchet af63378fa0 fix(ShadowCss): properly shim selectors after :host and :host-context (#10997)
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`
2016-08-26 16:11:57 -07:00
..
src fix(ShadowCss): properly shim selectors after :host and :host-context (#10997) 2016-08-26 16:11:57 -07:00
test fix(ShadowCss): properly shim selectors after :host and :host-context (#10997) 2016-08-26 16:11:57 -07:00
testing fix(errors): [2/2] Rename Exception to Error; remove from public API 2016-08-26 10:37:17 -07:00
core_private.ts fix(errors): [2/2] Rename Exception to Error; remove from public API 2016-08-26 10:37:17 -07:00
core_private_testing.ts fix(core): Share private types through an exported interface. (#11009) 2016-08-23 16:18:11 -07:00
index.ts refactor: remove obsolete analyzeAppProvidersForDeprecatedConfiguration 2016-08-25 13:29:43 -07:00
package.json chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
private_export.ts refactor(compiler): html_parser -> ml_parser 2016-08-05 13:39:54 -07:00
rollup.config.js build: fix source map paths for npm packages 2016-05-03 13:36:33 -06:00
testing.ts refactor(core): remove deprecated @Component.directives and @Component.pipes 2016-08-23 09:59:00 -07:00
tsconfig-es5.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00
tsconfig-es2015.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00