v1.2.0.0
·
1 commit
to main
since this release
- Added: align-content for wrapped rows and columns; per-axis fit-content (fit-content: x | y, width/height: fit-content); fit-content works with flex-wrap, flex and percent children
- Added: Absolute and anchored containers lay out their own children
- Changed: New layout engine: measures before it places (no one-tick lag), only re-lays out what changed, one bounding-box read per element per frame
- Changed: flex: 1 items of different sizes now end up equal; flex-basis also sizes items that do not grow or shrink
- Changed: flex-grow items shrink on overflow
- Changed: Wrapped rows: align-items no longer moves the lines, use align-content. Wrapped columns: justify-content now works inside each column
- Changed: Removing a width/height style returns the element to its authored size
- Changed: !important on flex protects all three longhands
- Fixed: A lone percent-sized child of a fit-content parent produced NaN positions
- Fixed: a min-constrained flex item made its siblings overflow
- Fixed: flex-basis in a row was applied to the child's height