Re: [csswg-drafts] [css-inline] Extend `text-box-edge` to support em-over/-under baselines and optionally support custom baselines (#9148)

As @jfkthame and others note in the call, there's no good way for the UA to guess at the intended metrics. For some fonts such as a basic sans-serif, some heuristics could be usable, but this isn't generally true. And the em metrics are also a heuristic that isn't particularly reliable.

The best way to solve for wrong metrics is probably to use the override descriptors in `@font-face`. https://www.w3.org/TR/css-fonts-5/#font-metrics-override-desc

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9148#issuecomment-3407447308 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 15 October 2025 17:04:41 UTC