mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously we supported one level of nested pseudo-element selectors inside :host-context(), e.g. :host-context(:is(.foo, .bar)). This was based on a regex-based approach. We could support deeper levels of nesting by updating the regex, but using a regex approach prohibits us from supporting arbitrary nesting. Rather than just adding one more level to the existing expression, I've added a new generator function which splits selectors on commas in a parenthesis-aware way. This allows us to support arbitrary nesting. It's likely we'll want to reuse this in other places where we're not as careful today. We'll probably do this on a request-based basis, though. Fixes #59176 |
||
|---|---|---|
| .. | ||
| at_rules_spec.ts | ||
| host_and_host_context_spec.ts | ||
| keyframes_spec.ts | ||
| ng_deep_spec.ts | ||
| polyfills_spec.ts | ||
| process_rules_spec.ts | ||
| repeat_groups_spec.ts | ||
| shadow_css_spec.ts | ||
| utils.ts | ||