Before this change content queries with the `descendants: false` option, as implemented in ivy, would not descendinto `<ng-container>` elements. This behaviour was different from the way the View Engine worked. This change alligns ngIvy and VE behaviours when it comes to queries and the `<ng-container>` elements and fixes a common bugs where a query target was placed inside the `<ng-container>` element with a * directive on it. Before: ```html <needs-target> <ng-container *ngIf="condition"> <div #target>...</div> <!-- this node would NOT match --> </ng-container> </needs-target> ``` After: ```html <needs-target> <ng-container *ngIf="condition"> <div #target>...</div> <!-- this node WILL match --> </ng-container> </needs-target> ``` Fixes #34768 PR Close #35384
29 lines
526 B
JSON
Executable File
29 lines
526 B
JSON
Executable File
{
|
|
"aio": {
|
|
"master": {
|
|
"uncompressed": {
|
|
"runtime-es2015": 2987,
|
|
"main-es2015": 449223,
|
|
"polyfills-es2015": 52195
|
|
}
|
|
}
|
|
},
|
|
"aio-local": {
|
|
"master": {
|
|
"uncompressed": {
|
|
"runtime-es2015": 2987,
|
|
"main-es2015": 449438,
|
|
"polyfills-es2015": 52195
|
|
}
|
|
}
|
|
},
|
|
"aio-local-viewengine": {
|
|
"master": {
|
|
"uncompressed": {
|
|
"runtime-es2015": 3097,
|
|
"main-es2015": 426533,
|
|
"polyfills-es2015": 52195
|
|
}
|
|
}
|
|
}
|
|
} |