[css-inline] Draft line-box-contain proposal · Issue #3199 · w3c/csswg-drafts (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
@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:
- current behavior value ('normal'? 'legacy'?)
- value that ignores > 1em
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 inline - possibly an “absolute” value that does use only the root inline? This can introduce content overlap...
- quirks mode value?
- anything else?