Re: [csswg-drafts] [css-inline] Leading control at start/end of block (#3240)

So, the CSSWG accepted to do this and we've published some drafts (sorry for the late update here), see current state at:
https://www.w3.org/TR/css-inline-3/#line-height
[Notes: [4 June update](https://lists.w3.org/Archives/Public/www-style/2020Jun/0007.html) and [23 June update](https://lists.w3.org/Archives/Public/www-style/2020Jun/0020.html)]

We're still trying to figure out how best to handle the ergonomics of this, so comments and feedback is very welcome (although filing separate issues for each subtopic is preferred). ^_^

Some of the currently open issues include:
- [application to descendant blocks](https://github.com/w3c/csswg-drafts/issues/5237)
- [handling descendant inlines of differing sizes](https://github.com/w3c/csswg-drafts/issues/3956)
- [dealing with pagination[(https://github.com/w3c/csswg-drafts/issues/5335)
- [internationalization / missing OpenType metrics](https://github.com/w3c/csswg-drafts/issues/5244)

There's also some ongoing exploration of the interaction of leading-trim and other features relating to line box sizing, see https://github.com/w3c/csswg-drafts/issues/5239

I'd encourage everyone interested in this feature to have a look at the draft and think about it, and let us know if we're forgetting anything, or if you think something could be handled better!

Note: One of the major principles of designing CSS, btw, is making sure the system is robust to unexpected situations: fonts not loading, larger/smaller window sizes than expected, user input, translations into other writing systems, etc. This feature is a little bit dangerous because it potentially cuts out significant parts of the text from being measured. One of the challenges for Inline Layout in particular is figuring out how to balance that need for robustness with the finicky needs of optically aligning text. :) So keep that in mind as you review the draft...

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

Received on Sunday, 19 July 2020 23:27:55 UTC