@@ -63,7 +63,7 @@ export const SuspenseImpl = {
63
63
anchor : RendererNode | null ,
64
64
parentComponent : ComponentInternalInstance | null ,
65
65
parentSuspense : SuspenseBoundary | null ,
66
- isSVG : boolean ,
66
+ namespace : 'svg' | 'mathml' | undefined ,
67
67
slotScopeIds : string [ ] | null ,
68
68
optimized : boolean ,
69
69
// platform-specific impl passed from renderer
@@ -76,7 +76,7 @@ export const SuspenseImpl = {
76
76
anchor ,
77
77
parentComponent ,
78
78
parentSuspense ,
79
- isSVG ,
79
+ namespace ,
80
80
slotScopeIds ,
81
81
optimized ,
82
82
rendererInternals
@@ -88,7 +88,7 @@ export const SuspenseImpl = {
88
88
container ,
89
89
anchor ,
90
90
parentComponent ,
91
- isSVG ,
91
+ namespace ,
92
92
slotScopeIds ,
93
93
optimized ,
94
94
rendererInternals
@@ -130,7 +130,7 @@ function mountSuspense(
130
130
anchor : RendererNode | null ,
131
131
parentComponent : ComponentInternalInstance | null ,
132
132
parentSuspense : SuspenseBoundary | null ,
133
- isSVG : boolean ,
133
+ namespace : 'svg' | 'mathml' | undefined ,
134
134
slotScopeIds : string [ ] | null ,
135
135
optimized : boolean ,
136
136
rendererInternals : RendererInternals
@@ -147,7 +147,7 @@ function mountSuspense(
147
147
container ,
148
148
hiddenContainer ,
149
149
anchor ,
150
- isSVG ,
150
+ namespace ,
151
151
slotScopeIds ,
152
152
optimized ,
153
153
rendererInternals
@@ -161,7 +161,7 @@ function mountSuspense(
161
161
null ,
162
162
parentComponent ,
163
163
suspense ,
164
- isSVG ,
164
+ namespace ,
165
165
slotScopeIds
166
166
)
167
167
// now check if we have encountered any async deps
@@ -179,7 +179,7 @@ function mountSuspense(
179
179
anchor ,
180
180
parentComponent ,
181
181
null , // fallback tree will not have suspense context
182
- isSVG ,
182
+ namespace ,
183
183
slotScopeIds
184
184
)
185
185
setActiveBranch ( suspense , vnode . ssFallback ! )
@@ -195,7 +195,7 @@ function patchSuspense(
195
195
container : RendererElement ,
196
196
anchor : RendererNode | null ,
197
197
parentComponent : ComponentInternalInstance | null ,
198
- isSVG : boolean ,
198
+ namespace : 'svg' | 'mathml' | undefined ,
199
199
slotScopeIds : string [ ] | null ,
200
200
optimized : boolean ,
201
201
{ p : patch , um : unmount , o : { createElement } } : RendererInternals
@@ -218,7 +218,7 @@ function patchSuspense(
218
218
null ,
219
219
parentComponent ,
220
220
suspense ,
221
- isSVG ,
221
+ namespace ,
222
222
slotScopeIds ,
223
223
optimized
224
224
)
@@ -232,7 +232,7 @@ function patchSuspense(
232
232
anchor ,
233
233
parentComponent ,
234
234
null , // fallback tree will not have suspense context
235
- isSVG ,
235
+ namespace ,
236
236
slotScopeIds ,
237
237
optimized
238
238
)
@@ -267,7 +267,7 @@ function patchSuspense(
267
267
null ,
268
268
parentComponent ,
269
269
suspense ,
270
- isSVG ,
270
+ namespace ,
271
271
slotScopeIds ,
272
272
optimized
273
273
)
@@ -281,7 +281,7 @@ function patchSuspense(
281
281
anchor ,
282
282
parentComponent ,
283
283
null , // fallback tree will not have suspense context
284
- isSVG ,
284
+ namespace ,
285
285
slotScopeIds ,
286
286
optimized
287
287
)
@@ -296,7 +296,7 @@ function patchSuspense(
296
296
anchor ,
297
297
parentComponent ,
298
298
suspense ,
299
- isSVG ,
299
+ namespace ,
300
300
slotScopeIds ,
301
301
optimized
302
302
)
@@ -311,7 +311,7 @@ function patchSuspense(
311
311
null ,
312
312
parentComponent ,
313
313
suspense ,
314
- isSVG ,
314
+ namespace ,
315
315
slotScopeIds ,
316
316
optimized
317
317
)
@@ -330,7 +330,7 @@ function patchSuspense(
330
330
anchor ,
331
331
parentComponent ,
332
332
suspense ,
333
- isSVG ,
333
+ namespace ,
334
334
slotScopeIds ,
335
335
optimized
336
336
)
@@ -349,7 +349,7 @@ function patchSuspense(
349
349
null ,
350
350
parentComponent ,
351
351
suspense ,
352
- isSVG ,
352
+ namespace ,
353
353
slotScopeIds ,
354
354
optimized
355
355
)
@@ -376,7 +376,7 @@ export interface SuspenseBoundary {
376
376
vnode : VNode < RendererNode , RendererElement , SuspenseProps >
377
377
parent : SuspenseBoundary | null
378
378
parentComponent : ComponentInternalInstance | null
379
- isSVG : boolean
379
+ namespace : 'svg' | 'mathml' | undefined
380
380
container : RendererElement
381
381
hiddenContainer : RendererElement
382
382
anchor : RendererNode | null
@@ -413,7 +413,7 @@ function createSuspenseBoundary(
413
413
container : RendererElement ,
414
414
hiddenContainer : RendererElement ,
415
415
anchor : RendererNode | null ,
416
- isSVG : boolean ,
416
+ namespace : 'svg' | 'mathml' | undefined ,
417
417
slotScopeIds : string [ ] | null ,
418
418
optimized : boolean ,
419
419
rendererInternals : RendererInternals ,
@@ -455,7 +455,7 @@ function createSuspenseBoundary(
455
455
vnode,
456
456
parent : parentSuspense ,
457
457
parentComponent,
458
- isSVG ,
458
+ namespace ,
459
459
container,
460
460
hiddenContainer,
461
461
anchor,
@@ -576,7 +576,7 @@ function createSuspenseBoundary(
576
576
return
577
577
}
578
578
579
- const { vnode, activeBranch, parentComponent, container, isSVG } =
579
+ const { vnode, activeBranch, parentComponent, container, namespace } =
580
580
suspense
581
581
582
582
// invoke @fallback event
@@ -594,7 +594,7 @@ function createSuspenseBoundary(
594
594
next ( activeBranch ! ) ,
595
595
parentComponent ,
596
596
null , // fallback tree will not have suspense context
597
- isSVG ,
597
+ namespace ,
598
598
slotScopeIds ,
599
599
optimized
600
600
)
@@ -675,7 +675,7 @@ function createSuspenseBoundary(
675
675
// consider the comment placeholder case.
676
676
hydratedEl ? null : next ( instance . subTree ) ,
677
677
suspense ,
678
- isSVG ,
678
+ namespace ,
679
679
optimized
680
680
)
681
681
if ( placeholder ) {
@@ -721,7 +721,7 @@ function hydrateSuspense(
721
721
vnode : VNode ,
722
722
parentComponent : ComponentInternalInstance | null ,
723
723
parentSuspense : SuspenseBoundary | null ,
724
- isSVG : boolean ,
724
+ namespace : 'svg' | 'mathml' | undefined ,
725
725
slotScopeIds : string [ ] | null ,
726
726
optimized : boolean ,
727
727
rendererInternals : RendererInternals ,
@@ -742,7 +742,7 @@ function hydrateSuspense(
742
742
node . parentNode ! ,
743
743
document . createElement ( 'div' ) ,
744
744
null ,
745
- isSVG ,
745
+ namespace ,
746
746
slotScopeIds ,
747
747
optimized ,
748
748
rendererInternals ,
0 commit comments