@@ -846,8 +846,6 @@ A subsequent {{LayoutFragment}} is produced by using the previous {{LayoutFragme
846
846
{{LayoutFragment/breakToken}} . This tells the <a>child layout</a> to produce a {{LayoutFragment}}
847
847
starting at the point encoded in the {{ChildBreakToken}} .
848
848
849
- Issue: Explain resuming the author defined layout.
850
-
851
849
<div class="example">
852
850
This example shows a simple layout which indents child fragments for a certain number of
853
851
lines.
@@ -2128,16 +2126,19 @@ When the user agent wants to <dfn>produce a generator result</dfn> given |reques
2128
2126
1. Let |layoutChild| be the result of looking up the internal slot
2129
2127
{{IntrinsicSizesRequest/[[layoutChild]]}} on |request|.
2130
2128
2131
- 2. If |layoutChild| is <em> not</em> attached to the <a>box tree</a> , return failure and
2132
- abort all these steps.
2129
+ 2. Let |box| be the result of looking up the internal slot {{LayoutChild/[[box]]}} on
2130
+ |layoutChild|.
2131
+
2132
+ 3. If |box| is <em> not</em> attached to the <a>box tree</a> , return failure and abort all
2133
+ these steps.
2133
2134
2134
2135
Note: The author may hold onto a {{LayoutChild}} from a previous invocation. It is
2135
2136
assumed that a box is only ever attached to the box-tree once, and not re-used.
2136
2137
2137
- 3 . Let |internalIntrinsicSizes| be the result of the user agent calculating the <b> border
2138
- box</b> min/max content contribution of |layoutChild |.
2138
+ 4 . Let |internalIntrinsicSizes| be the result of the user agent calculating the <b> border
2139
+ box</b> min/max content contribution of |box |.
2139
2140
2140
- 4 . Return the result of <a>create an intrinsic sizes object</a> given |request|, and
2141
+ 5 . Return the result of <a>create an intrinsic sizes object</a> given |request|, and
2141
2142
|internalIntrinsicSizes|.
2142
2143
2143
2144
2. If |request| is a {{LayoutFragmentRequest}} and |generatorType| is <code> "layout"</code>
@@ -2146,22 +2147,25 @@ When the user agent wants to <dfn>produce a generator result</dfn> given |reques
2146
2147
1. Let |layoutChild| be result of looking up the internal slot
2147
2148
{{LayoutFragmentRequest/[[layoutChild]]}} on |request|.
2148
2149
2149
- 2. If |layoutChild| is <em> not</em> attached to the <a>box tree</a> , return failure and
2150
- abort all these steps.
2150
+ 2. Let |box| be the result of looking up the internal slot {{LayoutChild/[[box]]}} on
2151
+ |layoutChild|.
2152
+
2153
+ 3. If |box| is <em> not</em> attached to the <a>box tree</a> , return failure and abort all
2154
+ these steps.
2151
2155
2152
2156
Note: The author may hold onto a {{LayoutChild}} from a previous invocation. It is
2153
2157
assumed that a box is only ever attached to the box-tree once, and not re-used.
2154
2158
2155
- 3 . Let |childLayoutConstraints| be the result of looking up the internal slot
2159
+ 4 . Let |childLayoutConstraints| be the result of looking up the internal slot
2156
2160
{{LayoutFragmentRequest/[[layoutConstraints]]}} on |request|.
2157
2161
2158
- 4 . Let |childBreakToken| be the result of looking up the internal slot
2162
+ 5 . Let |childBreakToken| be the result of looking up the internal slot
2159
2163
{{LayoutFragmentRequest/[[breakToken]]}} on |request|.
2160
2164
2161
- 5 . Let |internalFragment| be the result of the user agent producing a <a>fragment</a> based
2162
- on |layoutChild |, |childLayoutConstraints|, and |childBreakToken|.
2165
+ 6 . Let |internalFragment| be the result of the user agent producing a <a>fragment</a> based
2166
+ on |box |, |childLayoutConstraints|, and |childBreakToken|.
2163
2167
2164
- 6 . Return the result of <a>create a layout fragment</a> given |generator|, |request|, and
2168
+ 7 . Return the result of <a>create a layout fragment</a> given |generator|, |request|, and
2165
2169
|internalFragment|.
2166
2170
2167
2171
3. Return failure (neither of the above branches was taken).
0 commit comments