Skip to content

Commit edd0f42

Browse files
committed
[css-layout-api] README.md fix small things.
1 parent 602fd63 commit edd0f42

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

css-layout-api/README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ interface ExtentConstraint {
140140
};
141141
```
142142

143-
Actually this doesn't really work? As you can have an inlineSize, which also can overflow.
143+
| Actually this doesn't really work? As you can have an inlineSize, which also can overflow. |
144+
| --- |
144145

145146
Exclusions can be added to the constraint space which children should avoid. E.g.
146147

@@ -178,8 +179,9 @@ exclusions.
178179
The layoutOpportunities generator will return a series of max-rects for a given constraint space.
179180
These are ordered by `inlineStart`, `inlineSize` then `blockStart`.
180181

181-
How do we represent non-rect exclusions? Initial thought is to always jump by `1em` of author
182-
specified amount.
182+
| How do we represent non-rect exclusions? Initial thought is to always jump by `1em` of author
183+
specified amount. |
184+
| --- |
183185

184186
### Performing Layout
185187

@@ -252,6 +254,10 @@ function performLayout(constraintSpace, box) {
252254
} else {
253255
fragmentRequest.push(fragmentRequestObject.value);
254256
}
257+
258+
for (let i = 0; i < fragmentRequest.length; i++) {
259+
fragmentResult.push(performLayout(fragmentRequest[i]));
260+
}
255261

256262
// Request the next fragment.
257263
fragmentRequestObj = layoutGenerator.next(

0 commit comments

Comments
 (0)