Skip to content

Commit 2b7a980

Browse files
committed
[css-layout-api] Fix argument for -get a document definition- alg.
1 parent cdcbc25 commit 2b7a980

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css-layout-api/Overview.bs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,8 @@ context</a> for a given |box|, |childBoxes| it <em>must</em> run the following s
14221422

14231423
4. Let |name| be the first argument of the |layoutFunction|.
14241424

1425-
5. Let |documentDefinition| be the result of <a>get a document layout definition</a>.
1425+
5. Let |documentDefinition| be the result of <a>get a document layout definition</a> given
1426+
|name|.
14261427

14271428
If <a>get a document layout definition</a> returned failure, or if |documentDefinition| is
14281429
<code>"invalid"</code>, then let |box| fallback to the <a>flow layout</a> and abort all
@@ -1540,7 +1541,8 @@ context</a> for a given |box|, |childBoxes|, |internalLayoutConstraints|, and an
15401541

15411542
4. Let |name| be the first argument of the |layoutFunction|.
15421543

1543-
5. Let |documentDefinition| be the result of <a>get a document layout definition</a>.
1544+
5. Let |documentDefinition| be the result of <a>get a document layout definition</a> given
1545+
|name|.
15441546

15451547
If <a>get a document layout definition</a> returned failure, or if |documentDefinition| is
15461548
<code>"invalid"</code>, then let |box| fallback to the <a>flow layout</a> and abort all

0 commit comments

Comments
 (0)