summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/layout/flow.rs
AgeCommit message (Collapse)Author
2023-11-24Merge `typst` and `typst-library`Laurenz
2023-11-19Streamline importsLaurenz
2023-11-06Content rework 2 - Electric Boogaloo (#2504)Sébastien d'Herbais de Thun
2023-10-05Fix crashes with infinite lengths (part 2) (#2298)bluebear94
2023-10-03Gradient Part 2 - Linear gradients (#2279)Sébastien d'Herbais de Thun
2023-09-18Fix duplicate state manipulationLaurenz
The flow layouts footnotes twice in some cases, which messed up the Vt's locator state. Typically, we use `thing.measure` instead of `thing.layout` to prevent side effects, but in this case it was simpler to just undo the modification. A future layout engine rewrite should try to make this kind of error harder to make. Fixes #1597
2023-09-13Fix floating placement within containersLaurenz
Fixes #1879
2023-09-11First-class typesLaurenz
Makes types first-class values.
2023-07-19Resolve `place` deltas relative to real container sizeLaurenz
2023-07-19Positions placed elements relative to real container size (#1745)Laurenz
This positions placed elements relative to the real container size instead of relative to the base size of the region. This makes its usage more versatile. Fixes #82 Fixes #685 Fixes #1705
2023-07-10Basic floating placementLaurenz
2023-07-02Move everything into `crates/` directoryLaurenz