angular/packages/compiler/test
Matthew Beck 24cfd5a0ed fix(compiler): support complex selectors in :nth-child()
:nth-child() (and its siblings) support complex expressions, e.g.
`:nth-child(2n of :is(.foo, .bar))`. Previously we'd choke because of
the `:is()`. Now, we reuse the `_parenSuffix` subexpression to match
nested parentheses the same way we do for :host() and :host-context().
Note that we only support 3 levels of nesting, so a selector like
`:nth-child(n of :is(:has(:not(.foo))))` will still break.

I'll say yet again that we really should add a proper parser so we stop
getting bug reports like this :)

Fixes #64913
2025-11-11 14:03:32 -08:00
..
expression_parser fix(compiler): recover template literals with broken expressions (#64150) 2025-09-30 16:01:50 -04:00
i18n refactor(compiler): Remove the interpolation config (#64071) 2025-09-29 15:29:46 -04:00
ml_parser fix(compiler): correctly compile long numeric HTML entities (#64297) 2025-10-17 18:23:44 +00:00
output refactor(compiler): remove unused code (#61668) 2025-05-26 12:21:09 +00:00
render3 build: format md files 2025-11-06 10:03:05 -08:00
schema fix(compiler): Add support for aria-invalid (#63748) 2025-09-15 18:41:16 +00:00
selector build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
shadow_css fix(compiler): support complex selectors in :nth-child() 2025-11-11 14:03:32 -08:00
BUILD.bazel build: remove empty globs (#64270) 2025-10-07 20:28:11 -04:00
compiler_facade_interface_spec.ts docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
integration_spec.ts build: migrate packages/compiler to ts_project (#61566) 2025-05-29 14:39:10 -04:00
security_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
style_url_resolver_spec.ts refactor(compiler): convert scripts within packages/compiler to relative imports (#60625) 2025-04-01 11:57:53 +00:00
util_spec.ts refactor(compiler): remove unused code (#61668) 2025-05-26 12:21:09 +00:00