X Tutup
Skip to content

Selectors after :host are not properly shimmed #5390

@rkj

Description

@rkj

my css on a component:

:host .foo .bar {
  color: red;
}

.foo .bar {
  color: green;
}

it gets translated into:

[_nghost-shh-2] .foo .bar {
  color: red;
}

.foo[_ngcontent-shh-2] .bar[_ngcontent-shh-2] {
  color: green;
}

it is a great missing feature if this is indeed working as intended - but on the first look it seems like a bug to not shim add the shimmed attribute onto classes after :host.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup