Skip to content

Commit 8ab9c6f

Browse files
committed
fixup! fix(core): apply and remove stylesheets based on containing StyleRoot
1 parent 1365171 commit 8ab9c6f

File tree

11 files changed

+31
-7
lines changed

11 files changed

+31
-7
lines changed

packages/core/test/acceptance/hmr_spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ import {compileComponent} from '../../src/render3/jit/directive';
3838
import {angularCoreEnv} from '../../src/render3/jit/environment';
3939
import {clearTranslations, loadTranslations} from '@angular/localize';
4040
import {computeMsgId} from '@angular/compiler';
41-
import {EVENT_MANAGER_PLUGINS} from '@angular/platform-browser';
41+
import {
42+
EVENT_MANAGER_PLUGINS,
43+
ɵSharedStylesHost as SharedStylesHost,
44+
} from '@angular/platform-browser';
4245
import {ComponentType} from '../../src/render3';
43-
import {ɵSharedStylesHost as SharedStylesHost} from '@angular/platform-browser';
4446
import {isNode} from '@angular/private/testing';
4547

4648
describe('hot module replacement', () => {

packages/core/test/bundling/animations-standalone/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@
642642
"isRefreshingViews",
643643
"isRootView",
644644
"isSchedulerTick",
645+
"isShadowRootInstance",
645646
"isSkipHydrationRootTNode",
646647
"isSubscribable",
647648
"isSubscriber",

packages/core/test/bundling/create_component/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@
521521
"isRefreshingViews",
522522
"isRootView",
523523
"isSchedulerTick",
524+
"isShadowRootInstance",
524525
"isSubscribable",
525526
"isSubscriber",
526527
"isSubscription",

packages/core/test/bundling/defer/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"getBaseElementHref",
5050
"getDOM",
5151
"initDomAdapter",
52+
"isShadowRootInstance",
5253
"isTemplateNode",
5354
"parseCookieValue",
5455
"relativePath",

packages/core/test/bundling/forms_reactive/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@
736736
"isRefreshingViews",
737737
"isRootView",
738738
"isSchedulerTick",
739+
"isShadowRootInstance",
739740
"isSkipHydrationRootTNode",
740741
"isStylingMatch",
741742
"isStylingValuePresent",

packages/core/test/bundling/forms_template_driven/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@
735735
"isRefreshingViews",
736736
"isRootView",
737737
"isSchedulerTick",
738+
"isShadowRootInstance",
738739
"isSignal",
739740
"isSkipHydrationRootTNode",
740741
"isStylingMatch",

packages/core/test/bundling/hydration/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
"isRootView",
601601
"isScheduler",
602602
"isSchedulerTick",
603+
"isShadowRootInstance",
603604
"isSsrContentsIntegrity",
604605
"isSubscribable",
605606
"isSubscriber",

packages/core/test/bundling/router/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,7 @@
840840
"isRootView",
841841
"isScheduler",
842842
"isSchedulerTick",
843+
"isShadowRootInstance",
843844
"isSkipHydrationRootTNode",
844845
"isSubscribable",
845846
"isSubscriber",

packages/core/test/bundling/standalone_bootstrap/bundle.golden_symbols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@
476476
"isRefreshingViews",
477477
"isRootView",
478478
"isSchedulerTick",
479+
"isShadowRootInstance",
479480
"isSubscribable",
480481
"isSubscriber",
481482
"isSubscription",

packages/core/test/render3/util/view_traversal_util_spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*!
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.dev/license
7+
*/
8+
19
import {NgComponentOutlet} from '@angular/common';
210
import {By} from '@angular/platform-browser';
311
import {Component} from '../../../src/core';

0 commit comments

Comments
 (0)