Releases: DioxusLabs/taffy
Releases · DioxusLabs/taffy
v0.7.5
v0.7.4
v0.7.3
v0.7.2
v0.7.1
v0.7.0
Changed
- BREAKING: The
cache_mut
method on theLayoutPartialTree
trait has been replaced with a separateCacheTree
trait. This allows
Taffy to be more easily used without caching or with a custom cache implementation. - BREAKING: the
TaffyTree::set_children
method now removes the children from their previous parent (if they have one).
Added
- Helper methods to retrieve content-box sizes were added to
Layout
v0.6.3
v0.6.2
v0.6.1
Fixes
- Fix calculation of
auto-fill
/auto-fit
repetition count when container has a definite percentage size (#722) - Fix min-size style not affecting intrinsic sizes (#723)
- Fix documentation of dirty and mark_dirty functions (#724)
- Fix intrinsic size of scroll containers that have a small explicit flex-basis (#728)
v0.6.0
Highlights
- The
Style
struct has been "traitified". This supports Taffy's integration in Servo and generally makes Taffy more flexible. The
Style
struct still exists and implements the new traits so existing uses of Taffy will continue to work as before. - The
box-sizing
style is supported - Computed margins are output in
Layout
Fixes
- Fix
print_tree()
when rounding is disabled (#680) - Absolute Insets should be resolved against the container size minus border (#666)
- Fix flooring hypothetical_main_size by computed min size (#689)
- Fix flex line cross-size determination (#690)
- Fix panics in the grid algorithm (#691)
- Fix resolving flexible lengths (WPT css/flexbox-multiline-min-max test) (#692)
- Fix wrapping when a max main size style is present (#694)
- Fix case where Taffy allowed margins to collapse through an element when it shouldn't have (#695)