web-platform-tests / interop

web-platform-tests Interop project
https://wpt.fyi/interop
311 stars 28 forks source link

Fine grained typography control #873

Open stubbornella opened 1 week ago

stubbornella commented 1 week ago

Description

Developers would like to remove the vertical space appearing above and below text glyphs, allowing more precise positioning and alignment. And also, to allow the container to trim the margins of its children where they adjoin the container's edges. This proposal includes text-box-trim, text-box-edge, margin-trim, hanging punctuation, text-decoration shorthand, word-break, line-break, sideways-lr + sideways-rl, text-wrap-mode + text-wrap: stable + text-wrap-style.

Specification

https://drafts.csswg.org/css-box-4/#margin-trim

Additional Signals

No response

meyerweb commented 1 week ago

Supersets #730 and #781, possibly others.

meyerweb commented 1 week ago

Also supersets #814, possibly #832.

jgraham commented 6 days ago

Given that the process allow combining multiple proposals into one focus area would it be possible to restrict this proposal to anything that isn't in one of the other focus areas Eric identified?

stubbornella commented 6 days ago

This was a proposal for a focus area rather than individual properties, I think it could be good to have this be the umbrella, but I'm open to other solutions.

meyerweb commented 5 days ago

This was a proposal for a focus area rather than individual properties, I think it could be good to have this be the umbrella, but I'm open to other solutions.

Ah! Having this as an umbrella/bucket/group does make sense, and I support the idea. My apologies; both the individual things and the groups are tagged 'focus-area-proposal' so I didn’t pick up the distinction here.