Open mockersf opened 1 year ago
I think this should be implemented client/Bevy-side, because taffy doesn't really have a concept of font size
I would agree that this is a client-side issue. The client, which knows about the font, would need to convert the values specified in font-relative units into points before layout occurs.
What problem does this solve or what need does it fill?
To help with responsive design, dimensions relative to font size are useful
What solution would you like?
Add support for
em
andrem
. Additionally,ex
andch
exist but are less usefulWhat alternative(s) have you considered?
None
Additional context
https://www.w3schools.com/cssref/css_units.php