parent
f59f18c13e
commit
808898d015
|
@ -2398,8 +2398,8 @@ export function projectionDef(selectors?: CssSelectorList[], textSelectors?: str
|
||||||
tails[bucketIndex] !.next = componentChild;
|
tails[bucketIndex] !.next = componentChild;
|
||||||
} else {
|
} else {
|
||||||
pData[bucketIndex] = componentChild;
|
pData[bucketIndex] = componentChild;
|
||||||
componentChild.next = null;
|
|
||||||
}
|
}
|
||||||
|
componentChild.next = null;
|
||||||
tails[bucketIndex] = componentChild;
|
tails[bucketIndex] = componentChild;
|
||||||
|
|
||||||
componentChild = nextNode;
|
componentChild = nextNode;
|
||||||
|
|
|
@ -95,7 +95,7 @@ describe('projection', () => {
|
||||||
expect(main.nativeElement).toHaveText('I AM PROJECTED');
|
expect(main.nativeElement).toHaveText('I AM PROJECTED');
|
||||||
});
|
});
|
||||||
|
|
||||||
fixmeIvy('unknown').it('should support multiple content tags', () => {
|
it('should support multiple content tags', () => {
|
||||||
TestBed.configureTestingModule({declarations: [MultipleContentTagsComponent]});
|
TestBed.configureTestingModule({declarations: [MultipleContentTagsComponent]});
|
||||||
TestBed.overrideComponent(MainComp, {
|
TestBed.overrideComponent(MainComp, {
|
||||||
set: {
|
set: {
|
||||||
|
@ -195,7 +195,7 @@ describe('projection', () => {
|
||||||
expect(main.nativeElement).toHaveText('OUTER(INNER(INNERINNER(A,BC)))');
|
expect(main.nativeElement).toHaveText('OUTER(INNER(INNERINNER(A,BC)))');
|
||||||
});
|
});
|
||||||
|
|
||||||
fixmeIvy('unknown').it('should redistribute when the shadow dom changes', () => {
|
it('should redistribute when the shadow dom changes', () => {
|
||||||
TestBed.configureTestingModule(
|
TestBed.configureTestingModule(
|
||||||
{declarations: [ConditionalContentComponent, ManualViewportDirective]});
|
{declarations: [ConditionalContentComponent, ManualViewportDirective]});
|
||||||
TestBed.overrideComponent(MainComp, {
|
TestBed.overrideComponent(MainComp, {
|
||||||
|
@ -302,7 +302,7 @@ describe('projection', () => {
|
||||||
expect(main.nativeElement).toHaveText('SIMPLE()START(A)END');
|
expect(main.nativeElement).toHaveText('SIMPLE()START(A)END');
|
||||||
});
|
});
|
||||||
|
|
||||||
fixmeIvy('unknown').it('should support moving ng-content around', () => {
|
it('should support moving ng-content around', () => {
|
||||||
TestBed.configureTestingModule(
|
TestBed.configureTestingModule(
|
||||||
{declarations: [ConditionalContentComponent, ProjectDirective, ManualViewportDirective]});
|
{declarations: [ConditionalContentComponent, ProjectDirective, ManualViewportDirective]});
|
||||||
TestBed.overrideComponent(MainComp, {
|
TestBed.overrideComponent(MainComp, {
|
||||||
|
|
Loading…
Reference in New Issue