-
Notifications
You must be signed in to change notification settings - Fork 719
[css-inline] Draft line-box-contain proposal #3199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm writing this only with half-baked understanding, so there might be some incorrect parts, please read with that understanding. After I heard a proposal from @fantasai about |
@kojiishi No, because leading-over/under gets rid of the leading. In general you want leading between lines. :) We just need to make sure the contents of the line don't contribute excess space to the line box, and that the baseline is consistently positioned within that space. |
Some old discussions: dbaron's line-box-contain proposal and Hyatt's proposal to www-style |
Thanks, right, I think I understand it better. And the proposal looks good to me. |
The CSS Working Group just discussed The full IRC log of that discussion |
The CSS Working Group just discussed The full IRC log of that discussion |
Note: There were some interesting comments related to this from dbaron in https://lists.w3.org/Archives/Public/www-style/2020Feb/0020.html |
Agenda+ to decide whether to publish with the previously-drafted text or not. (I don't think it's good, it's just a starting point.) https://drafts.csswg.org/css-inline-3/#line-sizing-property |
The CSS Working Group just discussed
The full IRC log of that discussion |
Uh oh!
There was an error while loading. Please reload this page.
@dbaron had a proposal called
line-box-contain
for controlling how line box heights are calculated. Some aspects of this feature probably need to be revived if we're going to have baseline-to-baseline distances that aren't wiggly in simple cases like a single-font-size paragraph mixing proportional and monospace text.Proposed values need to include:
line-height
values on anything other than the root inline box (slightly more conservative approach than dbaron's proposal to only use the root inline) so that the line box only grows if its contents actually extend outside the outer leading edges of the root inlineThe text was updated successfully, but these errors were encountered: