angular/packages/platform-server/test
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
..
BUILD.bazel refactor(core): restructure hydration test files (#58196) 2024-10-14 14:26:26 -07:00
dom_utils.ts test(platform-server): fix issue with ngServerMode when focusing fit tests (#58538) 2024-11-07 14:29:59 +00:00
event_replay_spec.ts test(platform-server): fix issue with ngServerMode when focusing fit tests (#58538) 2024-11-07 14:29:59 +00:00
full_app_hydration_spec.ts fix(compiler): control flow nodes with root at the end projected incorrectly (#58607) 2024-11-12 18:05:00 +00:00
hydration_utils.ts test(platform-server): fix issue with ngServerMode when focusing fit tests (#58538) 2024-11-07 14:29:59 +00:00
incremental_hydration_spec.ts test(core): add incremental hydration tests (#58601) 2024-11-12 14:49:06 +00:00
integration_spec.ts refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
transfer_state_spec.ts refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00