What problem does this solve or what need does it fill?
Layout of UI containing scrollable regions.
What solution would you like?
Taffy should not implement support for scrolling itself (the actual scroll offset). But it should implement support for layout for nodes that are scrollable:
What problem does this solve or what need does it fill?
Layout of UI containing scrollable regions.
What solution would you like?
Taffy should not implement support for scrolling itself (the actual scroll offset). But it should implement support for layout for nodes that are scrollable:
Overflow, which can be controlled independently in each axis.Overflow::Hidden#424overflow: hidden(orscrollorauto) in a given axis then it's automatic minimum size can be assumed to be zero (this is partly a performance optimisation, but it can also affect layout).Overflow::Scroll#446overflow: scrollin a given axis andscrollbar-widthis greater than0, then space for a scrollbar should be set aside in the opposite axis (vertical scrolling requires a scrollbar that takes up horizontal space). This space should also be added to it's content size for the purpose of intrinsic sizing.