Hacker News new | past | comments | ask | show | jobs | submit login

Fonts

I really wish more effort was put into CSS typography.

In particular:

  leading-trim

  margin-trim
—-

https://medium.com/microsoft-design/leading-trim-the-future-...

https://developer.mozilla.org/en-US/docs/Web/CSS/margin-trim




margin-trim shipped in Safari 16.4 nearly a year ago [1].

leading-trim—the new name is text-box-trim—is behind a flag in the latest Safari.

[1]: https://webkit.org/blog/13966/webkit-features-in-safari-16-4...


I meant across all browsers since Interop is about raising the bar on all browser support.

Right now, no other browsers support those features.

https://caniuse.com/?search=leading-trim




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: