Open Weibye opened 2 years ago
The most important thing to do around this is add baseline alignment support to measure functions: baseline alignment is mostly useful for aligning text (either with boxes or other text), and currently Taffy has no way for a text layout engine to communicate baseline alignment information to Taffy. Taffy's support for the Flexbox and CSS Grid aspects of baseline alignment is actually pretty good.
What problem does this solve or what need does it fill?
We have plenty of properties that are not up to spec, by looking at the codebase it seems that
AlignSelf::Baseline
is one of them. Further work on #39What solution would you like?
Implement
AlignSelf::Baseline
according to specAdditional context
Code here: https://github.com/DioxusLabs/taffy/blob/main/src/flexbox.rs#L1533 Specification here: https://www.w3.org/TR/css-flexbox-1/#align-items-property