angular/packages/compiler-cli/test/compliance/test_cases
Kristiyan Kostadinov c421ffdbfb fix(compiler): control flow nodes with root at the end projected incorrectly (#58607)
Fixes an edge case where a control flow node that has non-projectable nodes followed by an element node at the end would cause the entire control flow node to be project. For example if we have a projection target of `Main: <ng-content/> Slot: <ng-content select="[foo]"/>`, inserting a node of `@if (true) {Hello <span foo>world</span>}` would project the entire `Hello world` into the `[foo]` slot.

In the process of working on the issue, I also found that `@let` declarations at the root of the control flow node would prevent content projection as well.

PR Close #58607
2024-11-12 18:05:00 +00:00
..
model_inputs refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
output_function refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_compiler_compliance refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
r3_view_compiler test(compiler-cli): fix broken test (#58217) 2024-10-16 09:47:10 +00:00
r3_view_compiler_bindings refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_control_flow fix(compiler): control flow nodes with root at the end projected incorrectly (#58607) 2024-11-12 18:05:00 +00:00
r3_view_compiler_deferred refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_di/di refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_directives refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_i18n refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_input_outputs refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_let refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_listener refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_providers refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_styling refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_template refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
signal_inputs refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
signal_queries refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
source_mapping refactor(compiler-cli): Update Golden partials (#58169) 2024-10-15 16:05:14 +00:00
BUILD.bazel test: refactor compiler-cli compliance test to work on windows (#45431) 2022-03-25 12:18:34 -07:00
list_golden_update_rules.ts refactor(compiler-cli): use semver range checking for partial versions (#39847) 2020-12-04 10:26:17 -08:00
replace.sh refactor(compiler): Delete TemplateDefinitionBuilder acceptance test expectations (#54757) 2024-03-08 16:51:01 -08:00
test_case_schema.json refactor(compiler): Delete TemplateDefinitionBuilder acceptance test expectations (#54757) 2024-03-08 16:51:01 -08:00