anchor.diff:        );
       });
   
  +    test('@ContentChildren, when nested with a #referenced child', () async {
  +      fixture = await NgTestBed(
  +        ng.createTestReferencedNgForReorderContentChildrenFactory(),
  +      ).create(
  +        beforeChangeDetection: (c) => c.items = [1, 2, 3],
  +      );
  +
  +      expect(
  +        fixture.assertOnlyInstance.children!.map((h) => h.text),
  +        ['1', '2', '3'],
  +      );
  +      await forceReorder132();
  +      expect(
  +        fixture.assertOnlyInstance.children!.map((h) => h.text),
  +        // TODO(b/129297484): Should be "['1', '3', '2']".
  +        ['1', '2', '3'],
  +      );
  +    });
  +
       test('@ViewChildren', () async {
         fixture = await NgTestBed(
           ng.createTestNgForReorderViewChildrenFactory(),
  
positive.code:     NgIf,
    ],
    template: '''
      <ul *ngIf="true">
        <li #listItem *ngFor="let i of items">
          <span *ngIf="true">{{i}}</span>
        </li>
  
negative.code: }
  
  @Component(
    selector: 'test-ng-for-reorder-content',
    directives: [
      ContentProjectedChild,
      NgFor,
      NgIf,
    ],
    template: '''
      <content-projected-child>
        <ul>
          <li *ngFor="let i of items">
            <!-- Note that the #listItem reference moves below -->
            <span #listItem *ngIf="true">{{i}}</span>
          </li>
        </ul>
      </content-projected-child>
    ''',
  )
  class TestReferencedNgForReorderContentChildren extends TestNgForBase {
    @ViewChild(ContentProjectedChild)
    ContentProjectedChild? child;
  
    @override
    List<HtmlElement>? get children => child!.children;
  }
  
  @Component(
    selector: 'content-projected-child',
    template: '<ng-content></ng-content>',
  )
  