@@ -326,8 +326,8 @@ Note: Both {{LayoutChild/layoutNextFragment()}} and {{LayoutChild/intrinsicSizes
326
326
327
327
### LayoutChildren and the Box Tree ### {#layout-child-box-tree}
328
328
329
- Each <a>box</a> has a <dfn attribute for=box>\[[layoutChildMap]]</dfn> internal slot, which is a <a>map</a> of
330
- {{LayoutWorkletGlobalScope}} s to {{LayoutChild}} ren.
329
+ Each <a>box</a> has a <dfn attribute for=box>\[[layoutChildMap]]</dfn> internal slot, which is a
330
+ <a>map</a> of {{LayoutWorkletGlobalScope}} s to {{LayoutChild}} ren.
331
331
332
332
<div algorithm="get a layout child">
333
333
When the user agent wants to <dfn>get a layout child</dfn> given |workletGlobalScope|, |name|, and
@@ -346,6 +346,9 @@ When the user agent wants to <dfn>get a layout child</dfn> given |workletGlobalS
346
346
1. Let |definition| be the result of <a>get a layout definition</a> given |name|, and
347
347
|workletGlobalScope|.
348
348
349
+ Assert that <a>get a layout definition</a> succeeded, and |definition| is not
350
+ <code> "invalid"</code> .
351
+
349
352
2. Let |childInputProperties| be |definition|'s <a for="layout definition">child input
350
353
properties</a> .
351
354
@@ -1304,6 +1307,9 @@ When the user agent wants to <dfn>invalidate layout functions</dfn> given |box|,
1304
1307
3. Let |documentDefinition| be the result of <a>get a document layout definition</a> given
1305
1308
|name|.
1306
1309
1310
+ If <a>get a document layout definition</a> returned failure, or if |documentDefinition| is
1311
+ <code> "invalid"</code> , then abort all these steps.
1312
+
1307
1313
4. Let |inputProperties| be |documentDefinition|'s <a for="document layout definition">input
1308
1314
properties</a> .
1309
1315
0 commit comments