@@ -326,8 +326,8 @@ Note: Both {{LayoutChild/layoutNextFragment()}} and {{LayoutChild/intrinsicSizes
326326
327327### LayoutChildren and the Box Tree ### {#layout-child-box-tree}
328328
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.
331331
332332<div algorithm="get a layout child">
333333When 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
346346 1. Let |definition| be the result of <a>get a layout definition</a> given |name|, and
347347 |workletGlobalScope|.
348348
349+ Assert that <a>get a layout definition</a> succeeded, and |definition| is not
350+ <code> "invalid"</code> .
351+
349352 2. Let |childInputProperties| be |definition|'s <a for="layout definition">child input
350353 properties</a> .
351354
@@ -1304,6 +1307,9 @@ When the user agent wants to <dfn>invalidate layout functions</dfn> given |box|,
13041307 3. Let |documentDefinition| be the result of <a>get a document layout definition</a> given
13051308 |name|.
13061309
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+
13071313 4. Let |inputProperties| be |documentDefinition|'s <a for="document layout definition">input
13081314 properties</a> .
13091315
0 commit comments