(node: Node, performLayout: boolean)
| 1020 | // constrained viewport height from the layout pass. That's the scrollbox |
| 1021 | // vpH=33→2624 bug: scrollTop clamps to 0, viewport goes blank. |
| 1022 | function commitCacheOutputs(node: Node, performLayout: boolean): void { |
| 1023 | if (performLayout) { |
| 1024 | node._lOutW = node.layout.width |
| 1025 | node._lOutH = node.layout.height |
| 1026 | } else { |
| 1027 | node._mOutW = node.layout.width |
| 1028 | node._mOutH = node.layout.height |
| 1029 | } |
| 1030 | } |
| 1031 | |
| 1032 | // -- |
| 1033 | // Core flexbox algorithm |