angular/packages/compiler/test
Kristiyan Kostadinov 98d98f2c94 refactor(compiler): incorrect validation of switch blocks when preserveWhitespaces is enabled (#51570)
When `preserveWhitespaces` is enabled, `switch` blocks can end up with content inside their main block due to the indentation that is usually used for the nested cases. This was tripping up the validation that doesn't allow content inside the main block of `switch`.

These changes update the validation to ignore empty text nodes.

PR Close #51570
2023-09-05 14:18:44 +00:00
..
expression_parser refactor: improve type safety of interpolation AST (#50903) 2023-07-10 07:08:28 -07:00
i18n fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07:00
ml_parser fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07:00
output test: update source-map tests to account for source-map breaking change (#46888) 2022-07-19 09:40:54 -07:00
render3 refactor(compiler): incorrect validation of switch blocks when preserveWhitespaces is enabled (#51570) 2023-09-05 14:18:44 +00:00
schema refactor(platform-browser): Remove BrowserDetection (#50411) 2023-05-30 13:06:28 -07:00
selector feat(compiler): allow self-closing tags on custom elements (#48535) 2023-01-04 12:07:37 -08:00
shadow_css feat(compiler): scope selectors in @scope queries (#50747) 2023-07-11 08:29:53 -07:00
BUILD.bazel build: refactor packages/compiler/test to work with ESM (#48521) 2022-12-19 19:50:42 +00:00
compiler_facade_interface_spec.ts feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
integration_spec.ts refactor(platform-browser): Remove BrowserDetection (#50411) 2023-05-30 13:06:28 -07:00
security_spec.ts fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
style_url_resolver_spec.ts refactor(compiler): make template preparser null-safe (#44411) 2022-01-04 15:54:10 -08:00
util_spec.ts perf(compiler): use raw bytes to represent utf-8 encoded strings (#39694) 2020-11-17 10:09:28 -08:00