`Val::Em` variant
Open
A-Text
A-UI
C-Feature
I-Accessibility
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## What problem does this solve or what need does it fill?
New `Val::Em(f32)` variant based on the node's font size.
`Val::Em` is both less useful (mostly), and more difficult to implement than `Val::Rem`. In particular it might complicate any `Val::Calc` implementation (#5893). So I think we'd want to add just `Val::Rem` (#21208) initially, and then leave `Val::Em` until after `Val::Calc` is in.
Contributor guide
Assessment
This issue has not been assessed yet.