feat(core): remove ViewEncapsulation.Native (#38882)
Removes `ViewEncapsulation.Native` which has been deprecated for several major versions. BREAKING CHANGES: * `ViewEncapsulation.Native` has been removed. Use `ViewEncapsulation.ShadowDom` instead. Existing usages will be updated automatically by `ng update`. PR Close #38882
This commit is contained in:

committed by
atscott

parent
0e733f3689
commit
4a1c12c773
@ -226,7 +226,7 @@ function normalizeTemplate(normalizer: DirectiveNormalizer, o: {
|
||||
describe('normalizeLoadedTemplate', () => {
|
||||
it('should store the viewEncapsulation in the result',
|
||||
inject([DirectiveNormalizer], (normalizer: DirectiveNormalizer) => {
|
||||
const viewEncapsulation = ViewEncapsulation.Native;
|
||||
const viewEncapsulation = ViewEncapsulation.ShadowDom;
|
||||
const template = <CompileTemplateMetadata>normalizeTemplate(normalizer, {
|
||||
encapsulation: viewEncapsulation,
|
||||
template: '',
|
||||
|
Reference in New Issue
Block a user