Skip to content

Commit a1950be

Browse files
committed
[css-layout-api] Fix typo where the wrong variable was accessed.
Sorry for the mini-patch, I just spotted that and thought it was worth to fix.
1 parent 4504469 commit a1950be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-layout-api/EXPLAINER.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ registerLayout('centering', class extends Layout {
9999
for (let child of children) {
100100
const childFragment = yield child.layoutNextFragment(childConstraintSpace);
101101

102-
maxChildInlineSize = Math.max(maxChildInlineSize, childFragments.inlineSize);
103-
maxChildBlockSize = Math.max(maxChildBlockSize, childFragments.blockSize);
102+
maxChildInlineSize = Math.max(maxChildInlineSize, childFragment.inlineSize);
103+
maxChildBlockSize = Math.max(maxChildBlockSize, childFragment.blockSize);
104104
childFragments.push(childFragment);
105105
}
106106

0 commit comments

Comments
 (0)